Check documentation for the latest version 6.0 of dhtmlxSuite onBeforePageChanged DHTMLX Docs

onBeforePageChanged

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

void onBeforePageChanged(number ind,number count){ ... };

Parameters

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