Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxGridBandOptions.HoldOwnColumnsOnly Property

Specifies whether columns can be moved to or from a band.

#Declaration

Delphi
property HoldOwnColumnsOnly: Boolean read; write; default False;

#Property Value

Type Default
Boolean False

#Remarks

If you need a band to hold a fixed column set, change the band’s HoldOwnColumnsOnly property to True. In this case, end-users will not be able to drag columns away from this band or add new columns to this band except in the case when nested bands which contain columns are added to this band. End-users will only be allowed to reorder columns within the owning band. Note that by default, end-users are allowed to move columns between any bands.

You can change a column’s owning band via code using the column’s Position.BandIndex property. This doesn’t depend on the HoldOwnColumnOnly property value.

The default value of the HoldOwnColumnsOnly property is False.

See Also