Selection
ASPxVerticalGrid allows end-users to change a selection, using one of the following methods.
Click check boxes displayed within command row cells. To display check boxes, set the command row’s VerticalGridCommandRow.ShowSelectCheckbox property to
true
. Alternatively, you can use the “Show Select Check Box” option within a grid’s Smart Tag menu.Use the Select command row item. To display this item, enable the VerticalGridCommandRow.ShowSelectButton property.
To get the ASPxVerticalGrid‘s selection, use the ASPxVerticalGrid.Selection property. The object returned by this property provides methods that allow you to select and deselect individual records or all records, obtain the number of selected records, etc.
To respond to selection changes, handle the ASPxGridBase.SelectionChanged server event, or the ASPxClientVerticalGrid.SelectionChanged client event.
The style settings used to paint the selected record can be accessed and customized by the VerticalGridStyles.SelectedRecord property.