$(function () { // Set pageIndexChanged event handler function $(".selector").wijgrid({ pageIndexChanged : function (e, args) { } }); });
Parameters
- e
- The jQuery.Event object.
- args
- The data with this event.
$(function () { // Set pageIndexChanged event handler function $(".selector").wijgrid({ pageIndexChanged : function (e, args) { } }); });
// Supply a callback function to handle the pageIndexChanged event: $("#element").wijgrid({ pageIndexChanged: function (e, args) { alert("The new pageIndex is: " + args.newPageIndex); } });