Check documentation for the latest version of dhtmlxSuite changePageRelative DHTMLX Docs

changePageRelative

changes the current page in grid

void changePageRelative(number ind);
indnumbercorrection ( -1,1,2, etc.) to the currently active page

Available only in PRO Edition

Example

<a href="javascript:void(0)" onclick="myGrid.changePageRelative(-1)">Previous page</a>
<a href="javascript:void(0)" onclick="myGrid.changePageRelative(1)">Next page</a>

Back to top