-
-
Notifications
You must be signed in to change notification settings - Fork 40
ungroupColumns
Julian Halliwell edited this page Apr 15, 2025
·
1 revision
Ungroups previously grouped columns
ungroupColumns( workbook, startColumn, endColumn )
-
workbookspreadsheet object -
startColumnnumeric: the column at which the group begins (inclusive) -
endColumnnumeric: the column at which the group ends (inclusive)
Chainable? Yes.
spreadsheet = New spreadsheet();
workbook = spreadsheet.newXlsx();
rowData = [ "column1", "column2", "column3", "column4" ];
spreadsheet
.addRows( workbook, [ rowData, rowData, rowData, rowData ] );//add a 4x4 dataset
.groupColumns( workbook, 2, 3 );
.ungroupColumns( workbook, 2, 3 );