Treeview issues

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?


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.