SMART datagrid v.1 > Classes > GridRow
Return the group row corresponding to parameter level among top Group Rows including this grid row.
The Level of top row being displayed in grid is 1.
var row = grid.focusedRow();
if (row) {
var p = row.getAncestor(1);
grid.setChecked(p, true);
grid.setFocusedRow(p);
}