@model IEnumerable<FlexGridData.Sale>

<h1>
    Multi-Range Selection
</h1>
<p>
    FlexGrid has a <b>ListBox</b> 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.
</p>
<p>
    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 shows the list of selected ranges
    as the selection changes):
</p>
@Html.C1().FlexGrid().Id("theGrid").ShowAlternatingRows(false).Height(300)