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

Specify the number of rows to place on a single page when allowPaging is set to true.

Default value: 10

Type: number

 

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  number
    returnsValue = $(".selector").wijgrid("option", "pageSize");
    
    // Set value
    var newValue; // Type:  number
    $(".selector").wijgrid("option", "pageSize", newValue);
        
});
var pageSize : number;
Example
// The pageSize here sets 5 rows to a page. 
// Set the allowPaging option to true to make paging buttons appear.
$("#element").wijgrid({ 
    allowPaging: true,
    pageSize: 5 
});
Remarks

To enable this option, set allowPaging to true.

The Paging sample demonstrates all of the page options.

 

See Also

Reference

options type
allowPaging Option
pageIndex Option
pagerSettings Option
scrollMode Option
wijgrid jQuery Widget