Skip to main content

deleteColumn()

removes a column from the spreadsheet

deleteColumn: (cell: string) => void;

Parameters:

cell: string - the id of a cell that contains the name of the column that should be deleted

Example

// removes the "G" column
spreadsheet.deleteColumn("G2");

The method finds the specified cell, selects it, removes the column where the cell is located and moves the column on the left to its position.

Related articles

Work with Spreadsheet