cartercjb
12-21-2021ETL
HIDE WIDGET WHEN EXPORTING TO PDF
Is anyone aware of a script/method other than plugins for excluding a specific widget when exporting to PDF? I want to exclude a Tabber widget when exporting to pdf.
Thanks!
-Carter
Hi cartercjb ,
You can hide a widget from pdf by using below script. I tested it in a linux based system. Add this script in your dashboard script and update the variable widgetid.
dashboard.on('widgetready', function (se, ev) { widgetid = '3aecd1801eafb16865d4c87lre' if(ev.widget.oid == widgetid) { $('[widgetid=' + widgetid + ']').closest('.u-r').height(0) } });