More Samples
Download Wijmo


By default, the FlexGrid allows you to select a range of cells with the mouse or keyboard, just like Excel.

The selectionMode property allows you to change that so that users are restricted to selecting rows, row ranges, non-contiguous rows (like in a list-box), single cells, or nothing at all.

Regardless of the current selectionMode, the grid will rais selectionChanging and selectionChanged events when the selection changes. And you can use the selection property to get or set the current selection as a CellRange value.

In ListBox mode, users can select individual rows using ctrl+click, and you can check whether rows are selected using the row's isSelected property.

The FlexGrid has built-in clipboard support. Press ctrl+c to copy the current selection to the clipboard.