# Perspective Progressive Tag Tree

**URL:** <https://forum.inductiveautomation.com/t/perspective-progressive-tag-tree/35495>\
**Category:** Ignition Exchange\
**Tags:** ignition80, perspective\
**Created:** [June 10, 2020, 1:37pm UTC](https://forum.inductiveautomation.com/t/perspective-progressive-tag-tree/35495 "2020-06-10T13:37:16Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![kgamble](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kgamble/32/8019_2.png) [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Post date:** [September 2, 2020, 5:38am UTC](https://forum.inductiveautomation.com/t/perspective-progressive-tag-tree/35495/15 "2020-09-02T05:38:00Z")

</div>

Progress Update:

1. Creating a filtered list = Easy
2. Creating the list of all the filtered tag indices within the tree = Easy
3. Expanding the list automatically = Easy to do, but very slow…

I have it currently working in a format that expands all of the tags that match your search and highlights them. It works ok with my example (about 1000 tags) but still isnt as fast as I would like.

Top items to correct:

1. It needs to also remove/hide the tags and paths that _don’t_ match the filter.
2. In my example each of my UDTs has Level and Gallons, if I search something like just “Gallons” that matches~500 of the tags, it takes closer to 10 seconds. Unacceptable
3. I moved the search onto a button, the recommended way of delaying the search from the typing doesn’t work in perspective due to the way invoking threads asynchronously works with your session. I will have to create a new way of doing this as well.
4. I had to remove the alphabetical sorting due to the way the item paths are generated, I will have to fix this as well.

Anyways, here is a gif!  
 ![TreeFilter](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/8/687343ae534ce66b21370c62904b310188e234d4.gif)

Also here is the current version in case anyone has any ideas on how to improve what I have so far. Definitely a fun little project  
[TagTree.zip](https://forum.inductiveautomation.com/uploads/short-url/dx39FB5iST3Zwaj7ZpbJCVmFzeS.zip) (16.5 KB)

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-progressive-tag-tree/35495)._
