SMART datagrid v.1 > Classes > GroupRow

Back  Forward

DataLudi.GroupRow.last  property

返回最后一个子。 

可以通过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
行分组