Skip to content

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

ParameterTypeDescription
worksheetWorksheetThe ExcelJS worksheet.

Returns

void

Example

ts
const worksheet = workbook.getWorksheet('Sparse Data');
moveEmptyColumnsRight(worksheet);

Matterway Assistant SDK Documentation