SMART datagrid v.1 > Classes > TreeDataSet
It returns indexth child row of Data Row which has been specified by parameter parent.
parent can specify TreeDataRow object or rowId. If do not specify parent or it is null, it will return among the top rows. index should be the value from 0 to count - 1 of parent. If beyond the range, it will throw an exception.
var treeRow = tree.focusedDataRow();
if (row) {
var values = ds.getRow(childRow, 1).getValues();
$('#addr').val(values[0]);
#('#salary').val(values[1]);
}