Appearance
Function: deleteColumn()
ts
function deleteColumn(worksheet: Worksheet, index: number): void;Defined in: src/excel/excel.tsx:658
Delete a column at the specified index.
Parameters
| Parameter | Type | Description |
|---|---|---|
worksheet | Worksheet | The ExcelJS worksheet. |
index | number | The 1-based column index to delete. |
Returns
void
Example
ts
deleteColumn(worksheet, 3);