How to adjust the background opacity and border of the default selected filter using - Printable Version +- Forums (https://bdn.bdb.ai) +-- Forum: BDB Knowledge Base (https://bdn.bdb.ai/forumdisplay.php?fid=13) +--- Forum: BDB Dashboards Designer (https://bdn.bdb.ai/forumdisplay.php?fid=43) +---- Forum: BDB Designer Q & A (https://bdn.bdb.ai/forumdisplay.php?fid=16) +---- Thread: How to adjust the background opacity and border of the default selected filter using (/showthread.php?tid=517) |
How to adjust the background opacity and border of the default selected filter using - neeraja.pattathil@bdb.ai - 12-23-2022 How to adjust the background opacity and border of the default selected filter using a script? Use: to adjust the background opacity,border of the default selected filter. Script area: dashboard Script: sdk.setAfterRenderCallBack( 'filter23',function() { var filter_var = "#selectBoxId"+sdk.getWidget('filter23').m_objectid; $(filter_var).css({ "border": "0px solid transparent", "background-color": "rgba(0,0,0,0.05)", "border-radius":"4px" }); }); |