Wijmo UI for the Web
staticColumnIndex Option

Default value: 0

Indicates the index of columns that will always be shown on the left when the grid view is scrolled horizontally. Note that all columns before the static column will be automatically marked as static, too. This can only take effect when the scrollMode option is not set to "none". It will be considered "-1" when grouping or row merging is enabled. A "-1" means there is no data column but the row header is static. A zero (0) means one data column and row header are static.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  number
    returnsValue = $(".selector").wijgrid("option", "staticColumnIndex");
    
    // Set value
    var newValue; // Type:  number
    $(".selector").wijgrid("option", "staticColumnIndex", newValue);
        
});
Javascript (Specification) 
var staticColumnIndex : number;
Example
$("#element").wijgrid({ staticColumnIndex: -1 });
Browser Compatibility
7
5
5

See Also

Reference

options type
wijgrid jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.