SMART datagrid v.1 > Classes > GroupRow

Back  Forward

DataLudi.GroupRow.descendantCount  property

The number of all descendant Rows being included in this group row. 

You can check the number of child row just below by count. And, you can get all descendant rows by getDescendants

Getter
function descendantCount(): Integer
Code -1
    $('#checkDescendants').click(function () {
        var group = grid.focusedGroupRow();
        if (group && group.descendantCount() > 1) {
            var rows = group.getDescendants();
            for (var i = rows.length; i--;) {
                rows[i].setChecked(true);
            }
        }
    });
See Also
getDescendants
children
count
getChild
Examples
Row Grouping