More Samples
Download Wijmo

Multi-Range Selection

The FlexGrid has a ListBox selection mode that allows users to select non-contiguous ranges of rows. But it does not have a built-in selection mode that allows user to select multiple, non-contiguous ranges of cells.

You can add multi-range selection support by handling a few events. For example, press the control key while selecting ranges with the mouse on the grid below (the console will show the list of selected ranges as the selection changes):