SMART datagrid v1.4 > Classes > TreeDataSet

Back  Forward

DataLudi.TreeDataSet.onStatesChanged  event

기존 들의 상태가 변경된 직후에 발생한다. 

function onStatesChanged (ds: TreeDataSet, rows: [TreeDataRow]);
Returns
Void
Parameters
ds - TreeDataSet.
rows - [TreeDataRow].
Code -1
    treeDataSet.onStatesChanged = function (ds, rows) {
        for (var i = 0; i < rows.length; i++) {
            var row = rows[i];
            console.log(row.rowId + ' state is changed');
        }
    }
See Also
onStateChanged
TreeDataRow
트리 개요
Examples
Tree 데이터셋
Hello Tree