Docs
API
  • removeColumn(key: String)


    Remove column by data index(key).
    First grid searches column in 'center' side than in 'left' than in 'right'.

    Example

    
    grid.removeColumn('age');
    

    removeColumn(key: String, side: String)


    Remove column by data index(key) in side.
    Possible side value: 'left', 'center', 'right'.

    Example: Remove column from left side

    
    grid.removeColumn('age', 'left');
    

    removeColumn(orderIndex: Number)


    Remove column at order index in center side of grid.

    Example: Removing column to left side at 0 order index

    
    grid.removeColumn(0);
    

    removeColumn(orderIndex: Number, side: String)


    Remove column at order index in side of grid.
    Possible side value: 'left', 'center', 'right'.

    Example: Removing column to left side at 0 order index

    
    grid.removeColumn(1, 'left');