This property returns and sets a value that determines whether a Grid control enables regular cell selection, selection by rows, or selection by columns.
object.SelectionMode [= number]
Constant |
Value |
Description |
flexSelectionFree | 0 | Free. Enables selections to be made spreadsheet-style. |
flexSelectionByRow | 1 | By row. Forces selections to span entire rows, as in a multicolumn list-box or record-based display. |
flexSelectionByColumn | 2 | By column. Forces selections to span entire columns, as if selecting ranges for a chart or fields for sorting. |