Forums
Script to give border for any Label - 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: Script to give border for any Label (/showthread.php?tid=367)



Script to give border for any Label - abhishek_acharya - 12-22-2022

This can be given in connection or in any component...

var e = sdk.getDivIdFromComponetId( 'label name');                                                                              
sdk.applyStyle('#'+e,'border','3px solid #000000');


If u want to give border only right side then use this script

var c = sdk.getDivIdFromComponetId( 'label name');                                                                              
sdk.applyStyle('#'+c,'border-right','2px solid #282830');