Wijmo UI for the Web
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.

Syntax
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) 
var pageCount : number;
Example
// Here's the general way you'll set the option:
$("#element").wijpager({
   pageCount: 10
});
Browser Compatibility
7
5
5

See Also

Reference

options type
wijpager jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.