SMART datagrid v.1 > Classes > TreeDataRow
It returns the child row of which value of fields specified by parameter fields is the same as the one specified in values.
If not found, it will return null. Each field of fields can be specified by string or Integer. The field which does not exist or is beyond the range will be excluded from search condition. It will search from child rows just below first, and if none and recursive parameter is true, it will continually search the level below.
If strict is true, it will compare with DataField.equalValues, else will compare with sameValues.
$('#find').click(function () {
var row = tree.focusedRow();
if (row) {
var r = ds.findRow(['name'], [name]);
if (r) {
row = tree.getRowOfDataRow(r.index());
row && grid.setFocusedRow(row);
}
}
});