SMART datagrid v.1 > Classes > TreeDataRow

Back  Forward

DataLudi.TreeDataRow.index  property

父行中,该数据行的位置。 

这是从0到父行的子行数量 - 1之间的值。 

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
树概述
Examples
Hello Tree