Wijmo UI for the Web
mode Option

Default value: 'numeric'

This option determines the pager mode. The possible values for this option are: "nextPrevious", "nextPreviousFirstLast", "numeric", "numericFirstLast".

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").wijpager("option", "mode");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijpager("option", "mode", newValue);
        
});
Javascript (Specification) 
var mode : string;
Example
// Here's the general way you'll set the option: 
$("#element").wijpager({
   mode: "nextPrevious"
});
Remarks
Possible values are: "nextPrevious", "nextPreviousFirstLast", "numeric", "numericFirstLast". "nextPrevious": a set of pagination controls consisting of Previous and Next buttons. "nextPreviousFirstLast": a set of pagination controls consisting of Previous, Next, First, and Last buttons. "numeric": a set of pagination controls consisting of numbered link buttons to access pages directly. "numericFirstLast": a set of pagination controls consisting of numbered and First and Last link buttons.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijpager jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.