DHTMLX Docs & Samples Explorer

Index
dhtmlxgrid
API Methods

### changePageRelative(ind)

Required library edition:
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