SMART datagrid v.1 > Classes > GridView
The location of page being displayed when the grid is in Paging state.
It is the value from 0 to pageCount - 1. The value beyond the range will be set by narrowing into the range without an error. In the case of actually changing the location of page, onPageIndexChanging, onPageIndexChanged events will be fired in order.
When pageCount becomes smaller, it will adjust pageIndex internally. At this point, onPageIndexChanged event will be fired without onPageIndexChanging.
Defaults to -1.
$('#incpage').click(function (ev) {
grid.setPageIndex(grid.pageIndex() + 1);
});