SMART datagrid v.1 > Classes > GroupRow

Back  Forward

DataLudi.GroupRow.firstLeaf  property

Return the row which is located first of tree structure among descendant rows when expanding this group row. 

You can check the last row by lastLeaf. And, you can get all leaf rows being included by getLeaves

Getter
function firstLeaf(): GridRow
Code -1
    var row = grid.focusedRow();
    if (row instanceof GroupRow) {
        var leaf = row.firstLeaf();
        grid.setFocusedRow(leaf, true);    }
See Also
lastLeaf
first
last
getLeaves
Examples
Row Grouping