Forum Discussion

mikemieszczak's avatar
mikemieszczak
Data Storage
07-22-2025

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'

9 Replies

  • I also need to be able to groupBy all of the column values ot ensure i'm not missing anything

  • Hello mikemieszczak​,

    Thank you for reaching out. I see your question hasn't gotten a response yet, so I'm asking internally to try and get you an answer. 

    • mikemieszczak's avatar
      mikemieszczak
      Data Storage

      Ok thank you very much; the trigger in this case is a column in a table that may have values like :
      [kpis]
      clicks
      ctr
      expansions

      those records different rows in the table

  • Hi mikemieszczak​,

    I discussed this with our internal teams, and they requested that you open a support ticket for this. They want to dig into this with you and help you execute this.