# Refresh and stylize a Tree View - Perspective

**URL:** <https://forum.inductiveautomation.com/t/refresh-and-stylize-a-tree-view-perspective/36143>\
**Category:** Ignition\
**Tags:** ignition80, perspective\
**Created:** [June 29, 2020, 6:58am UTC](https://forum.inductiveautomation.com/t/refresh-and-stylize-a-tree-view-perspective/36143 "2020-06-29T06:58:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anthony.kriz](https://avatars.discourse-cdn.com/v4/letter/a/cab0a1/32.png) [@anthony.kriz](https://forum.inductiveautomation.com/u/anthony.kriz)\
**Post date:** [June 29, 2020, 6:58am UTC](https://forum.inductiveautomation.com/t/refresh-and-stylize-a-tree-view-perspective/36143/1 "2020-06-29T06:58:31Z")

</div>

hello !  
I have two little problems, maybe you’ll know the solution…

first off all I populate my tree view like this :

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/7/f7574ddd27c72604f8edb751ce73e30928e48b80.png)

Problem 1 :  
i want to refresh my tree with a message handler

> self.refreshBinding(“props.items”)

I don’t have any error so i guess its works but i don’t have any refresh.  
For example i create a new tag but nothing or i delete a tag but it still here. (you can see it in the first screen with the “new instance”)  
And, if i manually go in my items binding and i apply again my configure transform(s) script, the tree is refresh

Problem 2 :  
i want to have different color for each tag in my tree view which will depend on whether or not I’m logged in.

like the table at the left, but in the tree:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/5/05b72b62bbd84520050e89785396c49052b6d28f.png)  
but i don’t find a way to do it

thanks in advance.
