ComponentOne GridView for ASP.NET WebForms
jQuery.wijmo.c1gridview Namespace / options type / selectionMode Option
In This Topic
    selectionMode Option
    In This Topic
    Determines which cells, range of cells, columns, or rows can be selected at one time. Possible values are: "none", "singleCell", "singleColumn", "singleRow", "singleRange", "multiColumn", "multiRow" and "multiRange".
    Syntax
    // Get value
    var value; // Type:  string
    value = $(".selector").c1gridview("option", "selectionMode");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").c1gridview("option", "selectionMode", newValue);
    var selectionMode : string;
    Example
    // Set selectionMode to muliColumn and users can select more than one column using the CTRL or SHIFT keys.
    $("#element").wijgrid({ selectionMode: "multiColumn" });
    Remarks
    Possible values are: "none": Selection is turned off. "singleCell": Only a single cell can be selected at a time. "singleColumn": Only a single column can be selected at a time. "singleRow": Only a single row can be selected at a time. "singleRange": Only a single range of cells can be selected at a time. "multiColumn": It is possible to select more than one row at the same time using the mouse and the CTRL or SHIFT keys. "multiRow": It is possible to select more than one row at the same time using the mouse and the CTRL or SHIFT keys. "multiRange": It is possible to select more than one cells range at the same time using the mouse and the CTRL or SHIFT keys.
    Browser Compatibility
    8
    5
    5
    See Also