Skip to main content

addColumn()

adds a new column into the spreadsheet

addColumn: (cell: string) => void;

Parameters:

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

Example

// adds an empty "G" column
spreadsheet.addColumn("G1");

The method finds the specified cell, selects it, moves the column where the cell is located one cell left and adds an empty column instead.

Related articles

Work with Spreadsheet