Forums
How to hide/show column in datagrid with script? - 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 hide/show column in datagrid with script? (/showthread.php?tid=596)



How to hide/show column in datagrid with script? - shreekantgosavi - 12-23-2022

sdk.getWidget( 'datagrid50' ).m_dataset.Fields[1].visible='false';
sdk.getWidget( 'datagrid50' ).m_dataset.Fields[2].visible='true';