In a grid I have the standard pdf export button from the toolbar but I didn’t find a solution to run further php code if the pdf button is clicked. (would this be possible?)
So I would like to create a custom button that has the same function as the toolbar pdf button and I can execute some more php code when this button is clicked.
Any ideas what exactly happens when you click the toolbar pdf button and how to implement that in an own button?