DHTMLX Docs & Samples Explorer

changePageRelative(ind)

Required library edition: This method requires Professional Edition of the DHTMLX library
Required library file: dhtmlxgrid_pgn.js

change current page in grid

  • ind - correction ( -1,1,2 etc) to current active page
<a href="javascript:void(0)" onclick="grid.changePageRelative(-1)">Previous page</a>
<a href="javascript:void(0)" onclick="grid.changePageRelative(1)">Next page</a>

See also: changePage