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

The pageIndexChanged event handler is a function that is called after the page index is changed, such as when you use the numeric buttons to swtich between pages or assign a new value to the pageIndex option.

Syntax
var instance; // Type: wijmo.grid.IDetailSettings;
var value; // Type: any
value = instance.pageIndexChanged;
var pageIndexChanged : any;
Example
// Supply a callback function to handle the pageIndexChanged event:
$("#element").wijgrid({
    pageIndexChanged: function (e, args) {
        alert("The new pageIndex is: " + args.newPageIndex);
    }
});
Remarks
You can bind to the event either by type or by name. Bind to the event by name: $("#element").wijgrid({ pageIndexChanged: function (e, args) { // some code here }}); Bind to the event by type: $("#element").bind("wijgridpageindexchanged", function (e, args) { // some code here });
See Also

Reference

IDetailSettings Interface