Wijmo UI for the Web
pageIndexChanging Event
wijmo.pager.wijpager Namespace > options type : pageIndexChanging Event
The jQuery.Event object.
The data associated with this event.
The pageIndexChanging event handler is a function called when page index is changing. This item is cancellable if you return false.
Syntax
$(function () {
    // Set pageIndexChanging event handler function
    $(".selector").wijpager({
        pageIndexChanging : function (e, args) {
     
        }
    });
});
pageIndexChanging = function ( 
   e : object,
   args : IPageIndexChangingEventArgs
) { };

Parameters

e
The jQuery.Event object.
args
The data associated with this event.
Example
// Supply a callback function to handle the event:
$("#element").wijpager({
   pageIndexChanging: function (e, args) {
      // Handle the event here.
   }
});
// Bind to the event by type:
$("#element").bind("wijpagerpageindexchanging", function (e, args) {
   // Handle the event here.
});
// You can cancel this event be returning false:
$("#element").wijpager({
   pageIndexChanging: function(e, args) {
      return false;
   }
});
See Also

Reference

options type
wijpager jQuery Widget