# Dashboard Treeview Widget

**URL:** <https://discourse.nodered.org/t/dashboard-treeview-widget/5903>\
**Category:** Dashboard\
**Created:** [17 December 2018 20:50 UTC](https://discourse.nodered.org/t/dashboard-treeview-widget/5903 "2018-12-17T20:50:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tcontrada](https://avatars.discourse-cdn.com/v4/letter/t/f1d935/32.png) [@tcontrada](https://discourse.nodered.org/u/tcontrada)\
**Post date:** [17 December 2018 20:50 UTC](https://discourse.nodered.org/t/dashboard-treeview-widget/5903/1 "2018-12-17T20:50:47Z")

</div>

Hi,

I am looking for a dashboard UI widget that can accept either a JSON or a JavaScript Object and display it within the UI as a **treeview** control with clickable expand and a _msg.payload = to the path and item of the selected item._

This seems an obvious UI widget, any thoughts of adding it to the current dashboard?

Thanks,  
Tony

---

<div class="post-metadata">

**Author:** ![tcontrada](https://avatars.discourse-cdn.com/v4/letter/t/f1d935/32.png) [@tcontrada](https://discourse.nodered.org/u/tcontrada)\
**Post date:** [23 January 2019 20:09 UTC](https://discourse.nodered.org/t/dashboard-treeview-widget/5903/2 "2019-01-23T20:09:36Z")

</div>

Here is an example that I thought may work, but I need to know how to populate the Dashboard HTML Template in order to create the Treeview within the UI block?  
Any suggestions?  
 ![JS%20Treeview%20for%20Node%20Red](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/0/0be0e0aa1764024ba8ba70d942a05fa71b35e55b.jpeg)

Thanks...
