GridOptionsSelection.ShowCheckBoxSelectorInGroupRow Property
Gets or sets whether check boxes are displayed in group rows allowing end-users to select/deselect all rows of a particular group.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v18.2.dll
Declaration
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean ShowCheckBoxSelectorInGroupRow { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DefaultBoolean | **Default** | True, to display group row check boxes; otherwise, Default or False. |
Available values:
Name | Description |
---|---|
True | Corresponds to a Boolean value of true. |
False | Corresponds to a Boolean value of false. |
Default | The value is determined by the current object’s parent object setting (e.g., a control setting). |
Property Paths
You can access this nested property as listed below:
Object Type | Path to ShowCheckBoxSelectorInGroupRow |
---|---|
AdvBandedGridView |
|
GridView |
|
Remarks
If multiple row selection is performed using check boxes (see ColumnViewOptionsSelection.MultiSelect, GridOptionsSelection.MultiSelectMode), check boxes are not displayed in group rows by default.
Group row check boxes allow users to check/uncheck all rows in a particular group. You can display check boxes in group rows by setting the ShowCheckBoxSelectorInGroupRow to True.
Note
The ShowCheckBoxSelectorInGroupRow property is not in effect if the check box column is bound to a data field (see GridOptionsSelection.CheckBoxSelectorField).
You can also show/hide a check box in the check box column header by using the GridOptionsSelection.ShowCheckBoxSelectorInColumnHeader property.