Multiple Row Selection
In this mode, multiple data and/or group rows can be selected at one time. To enable this mode, set the TableView.MultiSelectMode property to TableViewSelectMode.Row. In a TreeListView, use the TreeListView.MultiSelectMode property. The DataViewBase.NavigationStyle property must be set to GridViewNavigationStyle.Cell or GridViewNavigationStyle.Row.
A View provides multiple methods that allow you to select/unselect multiple rows. These methods are listed in the table below. End-users can select multiple rows using SHIFT or CTRL keys. Enable the TableView.UseIndicatorForSelection/TreeListView.UseIndicatorForSelection option to allow an end-user to select a range of rows/cells by dragging the mouse along the Row Indicator Panel.
The following table lists methods that can be used to select and unselect rows.
Method | Description |
---|---|
Selects all rows within a View. Unselects any selected rows within a View. Unselects any selected nodes within a View. | |
Selects multiple rows, while preserving the current selection (if any). | |
Selects the specified row. Unselects the specified row. | |
Selects the specified node. Unselects the specified node. |