SMART datagrid v.1 > Classes > GroupRow
If the Grid Row specified by parameter row is the child row of this group row, it will return the corresponding location.
If not, it will return -1.
var row = grid.getRowOfDataIndex(0);
var group = grid.focusedRow();
if (group instanceof GroupRow) {
if (group.indexOf(row) >= 0) {
grid.setFocusedRow(row, true);
}
}