Required library edition:
This event occurs before the active page in the grid was changed (paging extension). onBeforePageChanged event passes the following parameters:
grid.attachEvent("onBeforePageChanged", function(ind,count){});