SMART datagrid v.1 > Classes > ColumnGroup

Back  Forward

DataLudi.ColumnGroup.removeAt  method

パラメーターindexで指定した位置が0以上でColumnGroup.countより小さければ、 該当位置のカラムを削除してtrueをリターンする。 そうでなければ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