wijmo.pager.wijpager Namespace > options type : pageCount Option |
Default value: 1
An option that indicates the total number of pages. This option allows you to customize the total number of pages that your users will be able to page through. You can use this option in conjunction with the pageButtonCount to customize the pager display.
Javascript (Usage) | |
---|---|
$(function () { // Get value var returnsValue; // Type: number returnsValue = $(".selector").wijpager("option", "pageCount"); // Set value var newValue; // Type: number $(".selector").wijpager("option", "pageCount", newValue); }); |
Javascript (Specification) | |
---|---|
|
// Here's the general way you'll set the option: $("#element").wijpager({ pageCount: 10 });