mikemieszczak
07-22-2025Data Storage
Hide Widget based on grouped by Column Values
Hello I'm looking to hide a specific widget id if a specific value exists within a column value.
I started with
dashboard.on('widgetrefreshed', function (se, ev) {
widgetList = ['682f7ab1602b5d7f74c97e6f', ]
if(widgetList.includes(ev.widget.oid))
{
$(`widget[widgetid="${ev.widget.oid}"]`).closest('.dashboard-layout-subcell-host').addClass('dontshowme-parent')
}
});
but I am not sure how to check if the value for a column called test_benchmarks contains 'ctv'