Forums
Script for changing width of Box Component - 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 for changing width of Box Component (/showthread.php?tid=664)



Script for changing width of Box Component - archana - 12-26-2022

sdk.applyStyle( '#draggableDiv'+sdk.getWidget('box1').m_objectid, 'width', '300px' );
sdk.applyStyle( '#draggableCanvas'+sdk.getWidget('box1').m_objectid, 'width', '300px' );