Wijmo UI for the Web
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.

Syntax
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) 
var staticRowIndex : number;
Example
$("#element").wijgrid({ staticRowIndex: -1 });
Browser Compatibility
7
5
5

See Also

Reference

options type
wijgrid jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.