SMART datagrid v.1 > Classes > GridBase

[ grids ver.1.3.8]   Back  Forward

DataLudi.GridBase.getTopRows  method

Return the top Rows being displayed in grid as array. 

You can get the bottom terminal rows through getLeafRows

function getTopRows (): [GridRow];
Returns
[GridRow]
Note
Code -1
    $('#checkTopRows').click(function () {
        var rows = grid.getTopRows();
        grid.checkAll(false);
        grid.checkRows(rows);
    });
See Also
getLeafRows
GridRow
GroupRow
Examples
Row Model