Appearance
Function: moveEmptyColumnsRight()
ts
function moveEmptyColumnsRight(worksheet: Worksheet): void;Defined in: packages/excel-tools/lib/excel.d.ts:260
Move all empty columns to the right side of the worksheet.
Parameters
| Parameter | Type | Description |
|---|---|---|
worksheet | Worksheet | The ExcelJS worksheet. |
Returns
void
Example
ts
const worksheet = workbook.getWorksheet('Sparse Data');
moveEmptyColumnsRight(worksheet);