You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know several/many people have been looking to add page numbers to the print result of the "print" button. For the PDF button, this is possible with the following code:
For the print button, it's not so simple. However, I believe it would be possible if we could add paged.js to the resulting HTML. I've tried adding it in the customize function, but that doesn't work. I assume because it's added after the page has been opened in the browser already, so the paged.js script isn't executed.
Would you consider allowing such a thing? If so how? An option like addPagedJs may be too hard-coupled to that implementation. Maybe something like customScripts which could be an array of scripts URLs that are added to the print page?
The text was updated successfully, but these errors were encountered:
It is certainly something that I'll consider. A customScripts option might be a good idea - thanks for the suggestion. I'm not yet sure when I'll be able to get to it, but yes, it is something that it would be nice to see.
I know several/many people have been looking to add page numbers to the print result of the "print" button. For the PDF button, this is possible with the following code:
For the print button, it's not so simple. However, I believe it would be possible if we could add paged.js to the resulting HTML. I've tried adding it in the
customize
function, but that doesn't work. I assume because it's added after the page has been opened in the browser already, so the paged.js script isn't executed.Would you consider allowing such a thing? If so how? An option like
addPagedJs
may be too hard-coupled to that implementation. Maybe something likecustomScripts
which could be an array of scripts URLs that are added to the print page?The text was updated successfully, but these errors were encountered: