TcxGridBandOptions.HoldOwnColumnsOnly Property
Specifies whether columns can be moved to or from a band.
Declaration
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