I tried all the possible ways but it's not working. I want to call a function when I move to another page in a dojo dataGrid (during pagination). I tried the below code, but it's not working...
method one:
nextPage = function(src) {
alert("going");
};
grid.startup();
method two:
grid.on("nextPage", function(evt){
alert("next");
}, true);
method thee:
grid.pagination.plugin.nextPage = function(src) {
alert("here");
};
None of these methods are working. Please give sample code which will be called by clicking on any page numbers to move to another page...