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