When the user clicks an option in the Export tab for a table, is there a way to cancel the export and instead call a custom function?
What I’m trying to do is specify options for an export after the user clicks one of the export buttons.
I’d like to avoid adding customized buttons or separate functions for each table on a page.
Thank you for your question.
Yes, you can override the Export Tab’s behavior by customizing the Toolbar.
Here is a JSFiddle for illustration: https://jsfiddle.net/flexmonster/mugLx40n/.
In the example, a custom function is provided for the
"To PDF" Toolbar Tab.
Please let us know if this works fine for you.