Check documentation for the latest version 6.0 of dhtmlxSuite changePageRelative DHTMLX Docs

changePageRelative

changes the current page in grid

void changePageRelative(number ind);

Parameters

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