Hidding of aButtons
Hidding of aButtons
freekleluri
Posts: 2Questions: 1Answers: 0
Hello there,
First of all, thank you for the brilliant work on this API.
I am trying to find a way to hide the aButtons after the document has been created.
I am using jspdf to print the entire page including an editor table in pdf on user clic on a button, but unfortunately when printing, the aButtons titles are displayed on the page with a line jump for each button.
What could be the easiest way to get ride of these buttons when the user clic on the print button?
This discussion has been closed.
Answers
There isn't a public API to do this at the moment I'm sorry to say. What you would probably need to do is use a little bit of jQuery to remove the buttons from display and then add them again when the print is done (assuming it is blocking?).
Allan
Perfect, many thanks Allan!