Wijmo UI for the Web
pageIndexChanging Field
wijmo.grid Namespace > IDetailSettings Interface : pageIndexChanging Field

The pageIndexChanging event handler is a function that is called before the page index is changed. This event is cancellable.

Syntax
var instance; // Type: wijmo.grid.IDetailSettings;
var value; // Type: any
value = instance.pageIndexChanging;
var pageIndexChanging : any;
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

IDetailSettings Interface