wijmo.grid.wijgrid Namespace > options type : staticRowIndex Option |
Default value: 0
Indicates the index of data rows that will always be shown on the top when the wijgrid is scrolled vertically. Note, that all rows before the static row will be automatically marked as static, too. This can only take effect when the scrollMode option is not set to "none". This will be considered "-1" when grouping or row merging is enabled. A "-1" means there is no data row but the header row is static.A zero (0) means one data row and the row header are static.
Javascript (Usage) | |
---|---|
$(function () { // Get value var returnsValue; // Type: number returnsValue = $(".selector").wijgrid("option", "staticRowIndex"); // Set value var newValue; // Type: number $(".selector").wijgrid("option", "staticRowIndex", newValue); }); |
Javascript (Specification) | |
---|---|
|
$("#element").wijgrid({ staticRowIndex: -1 });