🍉 Meet Flexmonster Pivot Table & Charts 2.9.Check out all the hot features!
Get Free Trial

Change export handler

swapnil sonkusare asked on September 9, 2019

I want to change export handler and replace it with another and also prevent it from export. And with it customise some export options and etc. (That I will use exportTo()).
I had use “exportstart” event listener but it’s param gives null.
Angular: 8
Pivot version: 2.7.13

1 answer

Vera Didenko Vera Didenko Flexmonster September 9, 2019

Thank you for writing to us.
We would like to explain that the exportstart event notifies that the export has started. It does not return anything.
Flexmonster doesn’t provide an option to override the export handler.
If you want to use your own export function (handler), you will need to handle the export separately.
For this, you can customize the Toolbar and override the “Export” Tab’s behavior.
Here is a link to our how to customize the Toolbar tutorial for guidance: https://www.flexmonster.com/doc/customizing-toolbar/.
Please let us know if you have any questions.
Best Regards,

This question is now closed