SMART datagrid v.1 > Classes > GridView

Back  Forward

DataLudi.GridView.pageRows  property

The rows being displayed in the current page when grid is in Paging state. 

If do not specify this property, it will display the data rows which are determined by pageSize and pageIndex. You can set the page and rows at the same time by setPageAndRows. Please refer to Paging Rows example. 

Getter
function pageRows(): Array[Integer]
Setter
function setPageRows(value: Arary[Integer])
Code -1
    $('#incpage').click(function (ev) {
        grid.setPageIndex(grid.pageIndex() + 1);
        grid.setPageRows([1, 2, 3, 4, 5]);
    });
See Also
Paging Overview
paged
setPageAndRows
setPaging
pageSize
pageIndex
Examples
Paging
Paging Data
Paging Offset
Paging Rows