The Grid View in the Data Grid control can display a built-in checkbox column. Users can use the checkbox column to select multiple rows.
Do the following to enable the checkbox column:
- Enable the View.OptionsSelection.MultiSelect option.
- Set the View.OptionsSelection.MultiSelectMode property to
CheckBoxRowSelect
.
In v18.1+, you can sync row selected states with a Boolean field in the bound data source. A checkbox column's bound mode ensures that row selection persists whenever you filter or group grid data.
Read the following topic for more information: Multiple Row Selection Using Built-In Check Column and Selection Binding.