SMART datagrid v.1 > Classes > GridView
Start or cancel the paging.
If paging is false, it will cancel the paging. If it is true, it will display as much as the number of rows specified by pageSize in each page. If pageCount is less than 0, it will automatically calculate the number of pages to display all rows stored in dataSource. If it is greater than 0, it will display only the specified pages. If the value of pageOffset is less than 0, it will display from the former row as much as the specified number than the rows which will have been displayed originally, and if greater than 0, it will display from the latter. For example, if it is -10, when pageIndex is 2 and pageSize is 10, it will display from the oth row rather than the 11th row.
grid.setPaging(true, 10, -1, 0);
// Cancel the paging.
grid.setPaging(false);