SMART datagrid v.1 > Classes > GroupRow

Back  Forward

DataLudi.GroupRow.children  property

将所包含的子行返回为数组。 

Getter
function children(): [GridRow]
Code -1
    $('#checkChildren').click(function () {
        var group = grid.focusedRow();
        if (group instanceof GroupRow) {
            var rows = group.children();
            for (var i = rows.length; i--;) {
                rows[i].setChecked(true);
            }
        }
    });
See Also
count
getChild
descendantCount
getDescendants
Examples
行模型
行分组