SMART datagrid v.1 > Classes > ColumnGroup

Back  Forward

DataLudi.ColumnGroup.removeAt  method

If the location specified by parameter index is greater than 0 and less than ColumnGroup.count, it will remove Column of corresponding location and return true. Else, it will return false

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