# Tree view component on the vision client

**URL:** <https://forum.inductiveautomation.com/t/tree-view-component-on-the-vision-client/32500>\
**Category:** Ignition\
**Created:** [February 21, 2020, 3:52pm UTC](https://forum.inductiveautomation.com/t/tree-view-component-on-the-vision-client/32500 "2020-02-21T15:52:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lachguerabdallah](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lachguerabdallah/32/25558_2.png) [@lachguerabdallah](https://forum.inductiveautomation.com/u/lachguerabdallah)\
**Post date:** [February 21, 2020, 3:52pm UTC](https://forum.inductiveautomation.com/t/tree-view-component-on-the-vision-client/32500/1 "2020-02-21T15:52:07Z")

</div>

hello.  
To access the windows of my project, I used a tree view component, I want some users not to see some windows. can somebody help me how to do that. thanks you

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 21, 2020, 4:19pm UTC](https://forum.inductiveautomation.com/t/tree-view-component-on-the-vision-client/32500/2 "2020-02-21T16:19:27Z")

</div>

The component constructs the tree from the contents of a dataset. If you need the display to be dynamic, you will need to bind that dataset to a source of rows that will show what you want. Perhaps a named query binding whose WHERE clause takes a code derived from the groups the user belongs to. That would be simplest for most cases. Or you could use scripting to generate the dataset from scratch based on the user’s privileges.

---

<div class="post-metadata">

**Author:** ![lachguerabdallah](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lachguerabdallah/32/25558_2.png) [@lachguerabdallah](https://forum.inductiveautomation.com/u/lachguerabdallah)\
**Post date:** [February 21, 2020, 5:30pm UTC](https://forum.inductiveautomation.com/t/tree-view-component-on-the-vision-client/32500/3 "2020-02-21T17:30:05Z")

</div>

can you help me with an example please
