SMART datagrid v.1 > Classes > GroupRow

Back  Forward

DataLudi.GroupRow.lastLeaf  property

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

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

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