wijmo.grid.wijgrid Namespace > options type : allowSorting Option |
Default value: false
Determines whether the widget can be sorted by clicking the column header.
Javascript (Usage) | |
---|---|
$(function () { // Get value var returnsValue; // Type: bool returnsValue = $(".selector").wijgrid("option", "allowSorting"); // Set value var newValue; // Type: bool $(".selector").wijgrid("option", "allowSorting", newValue); }); |
Javascript (Specification) | |
---|---|
|
// Sort a column by clicking its header when allowSorting is set to true $("#element").wijgrid({ allowSorting: false });