Wijmo UI for the Web
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
Javascript (Usage) 
var instance; // Type: options
instance.pageIndexChanging = function(e, args) { };
Javascript (Specification) 
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

 

 


© 2013 All Rights Reserved.

Send comments on this topic.