Wijmo UI for the Web
pageIndexChanging Event
wijmo.grid.wijgrid Namespace > options type : 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
$(function () {
    // Set pageIndexChanging event handler function
    $(".selector").wijgrid({
        pageIndexChanging : function (e, args) {
     
        }
    });
});
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
wijgrid jQuery Widget