# Click events for Dashboard 2.0 widgets

**URL:** <https://discourse.nodered.org/t/click-events-for-dashboard-2-0-widgets/102035>\
**Category:** Dashboard\
**Tags:** dashboard-2\
**Created:** [1 November 2026 03:37 UTC](https://discourse.nodered.org/t/click-events-for-dashboard-2-0-widgets/102035 "2026-11-01T03:37:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fabnavigator](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fabnavigator/32/5403_2.png) [@fabnavigator](https://discourse.nodered.org/u/fabnavigator)\
**Post date:** [1 November 2026 03:37 UTC](https://discourse.nodered.org/t/click-events-for-dashboard-2-0-widgets/102035/1 "2026-11-01T03:37:47Z")

</div>

I want to be able to chart trend data for values in ui-gauges and ui-text widgets. Currently I have separate buttons to open the chart dialogs. I want to just click on the widget to open the chart. I ended up creating a ui-template that generates on click events for the widgets. I have seen some previous posts about doing this, but I think I have a very easy to use solution that I wanted to share.

> **[Dashboard OnClick: click events for Dashboard 2.0 widgets (flow) - Node-RED](https://flows.nodered.org/flow/95e5cb2dbdeac3ee932f85ac4a1e0042)**
