Exclude tabs from printing
Hi guys.
I have looked all over and I can't find anything about this subject in the forum so I hope this question (and answer) will be useful to the group.
I have a Display form and a specific button to print the form > with OnClick: fd.printForm();
The Display form has 4 tabs. I don't want tabs 3 & 4 to be printed.
How can I exclude certain tabs from the printing? Any suggestions?
Kindest regards
I have looked all over and I can't find anything about this subject in the forum so I hope this question (and answer) will be useful to the group.
I have a Display form and a specific button to print the form > with OnClick: fd.printForm();
The Display form has 4 tabs. I don't want tabs 3 & 4 to be printed.
How can I exclude certain tabs from the printing? Any suggestions?
Kindest regards
- Nikita Kurguzov
- Posts: 889
- Joined: Mon Jul 03, 2017
Dear Oz,
You can use CSS in the CSS editor to hide specific tabs, and use media query in it to only do it while printing, like this:
You can use CSS in the CSS editor to hide specific tabs, and use media query in it to only do it while printing, like this:
Code: Select all
@media print {
#fd_tabcontrol-0 #fd_tabcontrol-0-tab-3, #fd_tabcontrol-0-tab-4 {
display: none !important;
}
}
Cheers
-
- Information
-
Who is online
Users browsing this forum: No registered users and 26 guests