SMART datagrid v.1 > Classes > GroupRow

Back  Forward

DataLudi.GroupRow.last  property

Return the last child Row

You can check the first child row by first

Getter
function last(): GridRow
Code -1
    $('#checkChildren').click(function () {
        var group = grid.focusedGroupRow();
        if (group) {
            var row = group.last();
            while (row) {
                row.setChecked(true);
                row = row.prev();
            }
        }
    });
See Also
first
firstLeaf
lastLeaf
GridRow.prev
GridRow.next
Examples
Row Grouping