ASP.NET Core MVC Controls | ComponentOne
Working with Controls / MultiRow / Work with MultiRow / Selection Modes
In This Topic
    Selection Modes
    In This Topic

    The MultiRow control allows you to select a range of cells with the mouse or keyboard, similar to Excel. The SelectionMode property allows you to select a Row, a Range of Rows, Non-Contiguous Rows (like in a List-Box), a Single Cell, a Range of Cells or disable selection altogether.

    To specify the selection behavior in MultiRow control, you need to set the SelectionMode property to:

    The following image shows how the MultiRow control appears on setting SelectionMode to Row. This example uses the sample created in the Quick Start topic.

    SelectionMode.cshtml

    HTML
    Copy Code
    selection-mode="Row"