DHTMLX Docs & Samples Explorer

Index
dhtmlxgrid
Event Handling

## onBeforePageChanged Event

Required library edition:

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){});