Wijmo UI for the Web
pageSize Option

Default value: 10

Number of rows to place on a single page. The default value is 10.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  number
    returnsValue = $(".selector").wijgrid("option", "pageSize");
    
    // Set value
    var newValue; // Type:  number
    $(".selector").wijgrid("option", "pageSize", newValue);
        
});
Javascript (Specification) 
var pageSize : number;
Example
// The pageSize here sets 10 rows to a page. The allowPaging option is set to true so paging buttons appear.
$("#element").wijgrid({ pageSize: 10 });
Browser Compatibility
7
5
5

See Also

Reference

options type
wijgrid jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.