SMART datagrid v.1 > Classes > GridRow

Back  Forward

DataLudi.GridRow.isDescendantOf  method

If this grid row is the descendant of Group Row specified by parameter group, it will return true

function isDescendantOf (group: GroupRow): Boolean;
Returns
Boolean
Parameters
group - GroupRow. required.
Code -1
    var dataIndex = $('#edtRow').val();
    var row = grid.getRowOfDataIndex(dataIndex);
    if (row.isDescendantOf(groupRow)) {
        $('#value').val(row.getValue(0));
        grid.setFocusedRow(row);
    }
See Also
parent
GroupRow
Examples
Row Grouping