SMART datagrid v.1 > Classes > TreeDataRow

Back  Forward

DataLudi.TreeDataRow.index  property

The location of this data row within Parent Row

It is the value between 0 and Child Row Number - 1 of parent row. 

Getter
function index(): Integer
Code -1
    $('#resetIcon').click(function () {
        var row = tree.focusedRow();
        if (row) {
            var dataRow = row.dataRow();
            dataRow.setIconIndex(dataRow.index());
        }
    });
See Also
parent
level
Tree Overview
Examples
Hello Tree