SMART datagrid v1.4 > Classes > TreeDataSet
treeDataSet.onStatesChanged = function (ds, rows) {
for (var i = 0; i < rows.length; i++) {
var row = rows[i];
console.log(row.rowId + ' state is changed');
}
}