Working with FlexGrid > Selection > Selection and Selection Modes |
In addition to showing data in a tabular format, most grid controls allow users to select parts of the data using the mouse and the keyboard.
The C1FlexGrid has a rich selection model controlled by the SelectionMode property. The following selection modes are available:
The default SelectionMode is CellRange, which provides a familiar Excel-like selection behavior. The row-based options are also useful in scenarios where it makes sense to select whole data items instead of individual grid cells.
Regardless of the selection mode, the grid exposes the current selection with the Selection property. This property gets or sets the current selection as a CellRange object.