Drill Down on Card Widget

Hello Team Helical,

I have a card widget on my dashboard which shows the total machine failures. I want to implement a drill down on this card widget which should open another report within the same frame. I do not see any drill down script in the Customize section of card widget. How can I achieve this?

Thank You

1 Like

Hello Widideh,

There is directly no option of drilldown on a card widget as it has no dimension.
However, the above functionality can be achieved on the dashboard using an external JS for the card widget dashboard component.
Right click on the card widget on the dashboard designer. Go to JS and enable it.



In the JS section, add the following in the section below. Basically in the code we have defined an onclick event on the card component id and specified the URL which should open when an onclick event happens here.


In the CSS section, you can add the following script to change the mouse pointer on hover so that when a user hovers it will give an indication that there is an onclick event there:

 cursor: pointer;

Thank You
From Team Helical