SMART datagrid v.1 > Classes > ColumnGroup

Back  Forward

DataLudi.ColumnGroup.remove  method

If Column object specified by parameter column is being included as child of this group, it will remove the column from group and return true. Else, it will return false

function remove (column: GridColumn): Boolean;
Returns
Boolean
Parameters
column - GridColumn. required.
The column object which will be deleted.
Code -1
    var col = grid.focusedIndex().column();
    if (col && col.group()) {
        col.group().remove(col);
    }
See Also
add
removeAt
clear
Examples
Column Grouping