Print using Trigger Button
If you want your trigger button to act as a print button.
Last updated
Was this helpful?
If you want your trigger button to act as a print button.
Last updated
Was this helpful?
See page for how to style action links as trigger buttons. If you need to use a trigger button to act as a print button that cannot be accomplished with a menu button this is one way to accomplish it.
This is more or less the same as except for some extra CSS.
Add the following code and modify line 12 to the view number.
Keep in mind that whatever view you set will apply the window.print()
action on click of any details trigger button, so keep the print trigger button the only button in the details view.
Change line 2 to the view number the trigger button lives in. This will set all detail fields in the specific view number as display:none