SMART datagrid v.1 > Classes > GroupRow

Back  Forward

DataLudi.GroupRow.getChild  method

Return the child row which has the same childIndex as parameter index within group. 

function getChild (index: Integer): GridRow;
Returns
GridRow
Parameters
index - Integer. required.
Code -1
    var group = grid.focusedRow();
    if (group instanceof GroupRow) {
        var row = group.getChild(0);
        grid.setFocusedRow(row, true);
    }
See also
GridRow.childIndex
Examples
Row Grouping