Appearance
Function: moveEmptyColumnsRight()
ts
function moveEmptyColumnsRight(worksheet: Worksheet): void;Defined in: src/excel/excel.tsx:625
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);