This sample demonstrates client-side exporting of the pivot table to Excel, CSV and PDF formats.
The pivot table supports client-side exporting and allows data to be exported in Excel, CSV, and PDF formats
using the
excelExport,
csvExport, and
pdfExport methods.
To perform an export, the desired document type can be selected from the dropdown list in the property panel,
followed by clicking the "Export" button.
Headers and footers can also be added during export.
For Excel, the header and footer properties are defined in the
excelExportProperties object and passed to the excelExport method.
For PDF, the header and footer properties are defined in the
pdfExportProperties object and passed to the pdfExport method.
More information on exporting is available in the corresponding Excel Export, CSV Export, and PDF Export documentation sections.