# Tag browser tree Component enable and disable option

**URL:** <https://forum.inductiveautomation.com/t/tag-browser-tree-component-enable-and-disable-option/59414>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [May 10, 2022, 4:40pm UTC](https://forum.inductiveautomation.com/t/tag-browser-tree-component-enable-and-disable-option/59414 "2022-05-10T16:40:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![prasath.t](https://avatars.discourse-cdn.com/v4/letter/p/898d66/32.png) [@prasath.t](https://forum.inductiveautomation.com/u/prasath.t)\
**Post date:** [May 10, 2022, 4:40pm UTC](https://forum.inductiveautomation.com/t/tag-browser-tree-component-enable-and-disable-option/59414/1 "2022-05-10T16:40:23Z")

</div>

Hi,

Is there any option is their to enable and disable tag browser tree component?

Anyone please help me out

@paul-griffith any way to do that?

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [May 10, 2022, 5:07pm UTC](https://forum.inductiveautomation.com/t/tag-browser-tree-component-enable-and-disable-option/59414/2 "2022-05-10T17:07:02Z")

</div>

Set `root.path: ''`.

![Tag browser blanker](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/2/c267b3b1ae86e0d5f0cd5ca538c0ba0b736be417.gif)

---

<div class="post-metadata">

**Author:** ![prasath.t](https://avatars.discourse-cdn.com/v4/letter/p/898d66/32.png) [@prasath.t](https://forum.inductiveautomation.com/u/prasath.t)\
**Post date:** [May 10, 2022, 5:25pm UTC](https://forum.inductiveautomation.com/t/tag-browser-tree-component-enable-and-disable-option/59414/3 "2022-05-10T17:25:46Z")

</div>

I have binding in root path so i couldn’t able to do that… Any other way to show its disabled?  
Note- i am using tag browser tree in vision

What i tired :  
I tried to place rectangle over the tree Brower and make tha transparency to 10… But still i cab able to access the tag tree browser folder

Is there any idea to do it better way?

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [May 10, 2022, 5:27pm UTC](https://forum.inductiveautomation.com/t/tag-browser-tree-component-enable-and-disable-option/59414/4 "2022-05-10T17:27:09Z")

</div>

> [@prasath.t](#):
>
> Note- i am using tag browser tree in vision

Please tag your question with the 'Vision' tag.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [May 11, 2022, 3:21pm UTC](https://forum.inductiveautomation.com/t/tag-browser-tree-component-enable-and-disable-option/59414/5 "2022-05-11T15:21:58Z")

</div>

You can, with scripting, set `referenceToTagTreeComponent.getTree().enabled = false`.  
That will disable interactivity, but it does _not_ give the component any different appearance.  
You could probably ‘fake’ a disabled appearance with a custom property; using scripting or the `qualifiedValue` expression you could return a Bad\_Disabled quality (code 515) to render an overlay on the component (in addition to disabling it via scripting).

---

<div class="post-metadata">

**Author:** ![prasath.t](https://avatars.discourse-cdn.com/v4/letter/p/898d66/32.png) [@prasath.t](https://forum.inductiveautomation.com/u/prasath.t)\
**Post date:** [May 11, 2022, 3:26pm UTC](https://forum.inductiveautomation.com/t/tag-browser-tree-component-enable-and-disable-option/59414/6 "2022-05-11T15:26:45Z")

</div>

Thanks for your reply. i will do that
