Wijmo UI for the Web
staticRowIndex Option
wijmo.grid.wijgrid Namespace > options type : staticRowIndex Option

Indicates the index of data rows that will always be shown on the top when the wijgrid is scrolled vertically. Obsoleted, use the scrollingSettings.staticRowIndext property instead.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  number
    returnsValue = $(".selector").wijgrid("option", "staticRowIndex");
    
    // Set value
    var newValue; // Type:  number
    $(".selector").wijgrid("option", "staticRowIndex", newValue);
        
});
var staticRowIndex : number;
Example
$("#element").wijgrid({ staticRowIndex: -1 });
Remarks
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.
See Also

Reference

options type
wijgrid jQuery Widget