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'
mikemieszczak
Posted 1 year ago·Last reply 10 months ago
9 comments
DRay
·10 months agoHi mikemieszczak,
Just checking in to see if you were able to get this resolved. How are things going?
DRay
·11 months agoHi mikemieszczak,
Just checking in to see if you were able to get this resolved. How are things going?
DRay
·1 year agoHi 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.
mikemieszczak
OP1 year agoHow do I put in a support ticket? i'm not sure how to do that.
DRay
·1 year agoNo problem. You can go to the Support Portal and submit a ticket there.
DRay
·1 year agoWere you able to submit a ticket?
DRay
·1 year agoHello 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
OP1 year agoOk 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
mikemieszczak
OP1 year agoI also need to be able to groupBy all of the column values ot ensure i'm not missing anything