MCPcopy
hub / github.com/exceljs/exceljs / addPivotTable

Method addPivotTable

lib/doc/worksheet.js:814–827  ·  view source on GitHub ↗
(model)

Source from the content-addressed store, hash-verified

812 // =========================================================================
813 // Pivot Tables
814 addPivotTable(model) {
815 // eslint-disable-next-line no-console
816 console.warn(
817 `Warning: Pivot Table support is experimental.
818Please leave feedback at https://github.com/exceljs/exceljs/discussions/2575`
819 );
820
821 const pivotTable = makePivotTable(this, model);
822
823 this.pivotTables.push(pivotTable);
824 this.workbook.pivotTables.push(pivotTable);
825
826 return pivotTable;
827 }
828
829 // ===========================================================================
830 // Conditional Formatting

Callers 2

mainFunction · 0.80

Calls 2

makePivotTableFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected