DHTMLX Docs & Samples Explorer

onBeforePageChanged Event

Required library edition: This method requires Professional Edition of the DHTMLX library

This event occurs before the active page in the grid was changed (paging extension). onBeforePageChanged event passes the following parameters:

  • ind - index of the current page;
  • count - count of pages.
        grid.attachEvent("onBeforePageChanged", function(ind,count){});