Syncfusion AI Assistant

How can I help you?

Print in ASP.NET Core Pivot Table Component

The React Pivot Table component supports print functionality, allowing users to print the current state of the pivot table or pivot chart. This feature enables users to generate hard copies of pivot table reports for convenient review and data sharing.

The rendered pivot table can be printed by invoking the print method from the underlying Grid component instance. The Grid control manages the print functionality and captures the current state of the pivot table, including all applied filters, sorting, and formatting. The sample code below demonstrates how to trigger the print operation using an external button click.

To print the pivot chart, use the print method from the underlying Chart component instance. The Chart control manages the print functionality and preserves all visual elements, including colors, legends, and data labels, in the printed output.

To use pivot chart functionality, inject the PivotChart module into the pivot table.

To display the pivot chart, set the e-displayOption property to either Chart or Both.

The sample code below illustrates how to print the pivot chart through an external button click.