Save Pivot Table in ODS file

Contents
[ ]

Aspose.Cells for Node.js via C++ provides the ability to save a pivot table in ODS files. For this, you simply convert a workbook with an existing pivot table or create a new pivot table and save the file in the ODS format. Be sure to call PivotTable.calculateData before saving to ensure that the pivot table is rendered in the output ODS file. The following code snippet demonstrates saving a pivot table in an ODS file.

Sample Code

The output file generated by the above code is attached for your reference.

Output ODS File