SMART datagrid v1.4 > Classes > GridBase

[ grids ver.1.3.8]   Back  Forward

DataLudi.GridBase.getTopRows  method

그리드에 표시되는 최상위 들을 배열로 리턴한다. 

최하위 단말행들은 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