wijmo.grid.wijgrid Namespace > options type : selectionMode Option |
Default value: 'singleRow'
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".
Javascript (Usage) | |
---|---|
$(function () { // Get value var returnsValue; // Type: string returnsValue = $(".selector").wijgrid("option", "selectionMode"); // Set value var newValue; // Type: string $(".selector").wijgrid("option", "selectionMode", newValue); }); |
Javascript (Specification) | |
---|---|
|
// Set selectionMode to muliColumn and users can select more than one column using the CTRL or SHIFT keys. $("#element").wijgrid({ selectionMode: "multiColumn" });