Check documentation for the latest version of dhtmlxSuite onBeforePageChanged DHTMLX Docs

onBeforePageChanged

fires before the active page in the grid is changed (paging extension)

void onBeforePageChanged(number ind,number count);
indnumberthe index of the current page
countnumberthe count of pages

Available only in PRO Edition

Example

grid.attachEvent("onBeforePageChanged", function(ind,count){
    //your code here
});

Back to top