Forums
Toggle Components - 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: Toggle Components (/showthread.php?tid=440)



Toggle Components - rubeena.hajira - 12-23-2022

Script for Toggle Components:
*  Click on the component("TileAB") will toggle these sets of components which are written in arrays.
 
sdk.toggleComponents(["label1", "gauge2", "area3", "datagrid4"], ["label5", "gauge6", "area7", "datagrid8"], "TileAB");

Arguments : An array of first set of components, An array of second set of components, uniqe-key to toggle these sets of components