Wijmo UI for the Web
pageIndexChanging Event
The jQuery.Event object.
The data with this event.
The pageIndexChanging event handler is a function that is called before the page index is changed. This event is cancellable.
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 with this event.
Example
// Cancel the event by returning false
$("#element").wijgrid({
    pageIndexChanging: function (e, args) {
        return false;
    }
});
Remarks
You can bind to the event either by type or by name. Bind to the event by name: $("#element").wijgrid({ pageIndexChanging: function (e, args) { // some code here }}); Bind to the event by type: $("#element").bind("wijgridpageindexchanging", function (e, args) { // some code here });

See Also

Reference

options type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.