Putting Multi Selection and Checkbox Columns in DevExpress XtraGrid

In DevExpress XtraGrid, the following steps are followed to set multiple selection and checkbox columns.

  • 1 - With "Run Designer", XtraGrid's features are opened.
  • 2 - Set the "MultiSelect" property to "True" from the "OptionsSelection" section.
  • 3 - Set the "MultiSelectMode" property to "CheckBoxRowSelect" from the "OptionsSelection" section.

An example of setting it as code is given below..

myListGridView.OptionsSelection.MultiSelect = true; myListGridView.OptionsSelection.MultiSelectMode = GridMultiSelectMode.CheckBoxRowSelect;

The steps mentioned above may vary slightly depending on the version.



You May Interest

DevExpress XtraGrid Row Header Invisible

DevExpress XtraGrid Cell Information Horizontal Alignment Adjustm ...

DevExpress XtraGrid Setting Cell Color by Column

Automating DevExpress XtraGrid Column Width

DevExpress XtraGrid Clicking Cells to Edit