# Treeview issues

**URL:** <https://forum.inductiveautomation.com/t/treeview-issues/5743>\
**Category:** Ignition\
**Created:** [January 24, 2013, 9:57pm UTC](https://forum.inductiveautomation.com/t/treeview-issues/5743 "2013-01-24T21:57:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaepark](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@jaepark](https://forum.inductiveautomation.com/u/jaepark)\
**Post date:** [January 24, 2013, 9:57pm UTC](https://forum.inductiveautomation.com/t/treeview-issues/5743/1 "2013-01-24T21:57:21Z")

</div>

I am trying to replicate the following tree using the treeview.  
The problem I have is folders are created. I am also bringing in additional columns for each leaf node. When selecting a folder node, the selectedItem is -1.

Starting from Step 1, pressing a button will create Step 2.

What should the dataset look like to make this work properly?

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/9/904f6b8f0cd277eb5114228f206a1769684f02b4.png)

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [January 24, 2013, 10:19pm UTC](https://forum.inductiveautomation.com/t/treeview-issues/5743/2 "2013-01-24T22:19:20Z")

</div>

If you use the pre configured navigation on a project template you can set it up like the attached screen shot. Otherwise, you will need your folder and window structure in the Project Browser to mimic how you would like the tree view to appear.

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/5/586ea146a19d2717f8cb0cbae90bb6391ae93681.PNG)
