SMART datagrid v.1 > Classes > TreeView

Back  Forward

DataLudi.TreeView.rootRow  property

The top row which exists within tree view. 

It is not displayed in grid. It can be used to visit the top row list which is displayed in tree view. 

Getter
function rootRow(): TreeRow
Setter
function setRootRow(value: )
Code -1
    $('#checkRows').click(function () {
        var root = tree.rootRow();
        for (var i = root.count() - 1; i >= 0; i--) {
            tree.setChecked(root.getChild(i), true);
        }
    });
See Also
TreeRow
GroupRow.count
GroupRow.getChild
Examples
Tree Rows