Wijmo UI for the Web
pageIndex Option

Default value: 0

Determines the zero-based index of the current page. You can use this to access a specific page, for example, when using the paging feature.

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

See Also

Reference

options type
wijgrid jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.