# \[BUG-784\]Change treeview node selected background color and image

**URL:** <https://forum.inductiveautomation.com/t/bug-784-change-treeview-node-selected-background-color-and-image/32838>\
**Category:** Ignition\
**Created:** [March 5, 2020, 3:36pm UTC](https://forum.inductiveautomation.com/t/bug-784-change-treeview-node-selected-background-color-and-image/32838 "2020-03-05T15:36:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![eric.petke](https://avatars.discourse-cdn.com/v4/letter/e/7feea3/32.png) [@eric.petke](https://forum.inductiveautomation.com/u/eric.petke)\
**Post date:** [March 5, 2020, 3:36pm UTC](https://forum.inductiveautomation.com/t/bug-784-change-treeview-node-selected-background-color-and-image/32838/1 "2020-03-05T15:36:38Z")

</div>

Hello,  
I would like to know how i can change the background color of the selected node of a treeview. i have provided a value for the “selectedBackground” color property in the Items dataset of the treeview but still get the default selectedBackgorund color (the light blue one) instead of the provided color. So how can i change the background color?

Also i will like to change the node’s icon when it is open. But not event is fired when opening or closing a node (i couldn’t see any). i can specified a default icon and a selected one through the Items dataset but there is no property (column) to specified one for when the node is open. So any idea of how to achieved that?

for info i am working with ignition 8.0.5

I will be thankful for your help

---

<div class="post-metadata">

**Author:** ![WMars](https://avatars.discourse-cdn.com/v4/letter/w/b5e925/32.png) [@WMars](https://forum.inductiveautomation.com/u/WMars)\
**Post date:** [October 2, 2020, 12:22pm UTC](https://forum.inductiveautomation.com/t/bug-784-change-treeview-node-selected-background-color-and-image/32838/2 "2020-10-02T12:22:25Z")

</div>

Hello,

I got the same issue. I have got Ignition V8.1 RC1 installed so the issues is still in there. Does somebody have a solution for this? Otherwise I will create a support ticket.

---

<div class="post-metadata">

**Author:** ![eric.petke](https://avatars.discourse-cdn.com/v4/letter/e/7feea3/32.png) [@eric.petke](https://forum.inductiveautomation.com/u/eric.petke)\
**Post date:** [October 2, 2020, 3:48pm UTC](https://forum.inductiveautomation.com/t/bug-784-change-treeview-node-selected-background-color-and-image/32838/3 "2020-10-02T15:48:51Z")

</div>

Hello WMars,  
i still have no solution for that issue. So it will be great if you can open a ticket for that issue with the hope that a solution will be given soon.

---

<div class="post-metadata">

**Author:** ![javier.castellanos](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@javier.castellanos](https://forum.inductiveautomation.com/u/javier.castellanos)\
**Post date:** [April 1, 2021, 5:06pm UTC](https://forum.inductiveautomation.com/t/bug-784-change-treeview-node-selected-background-color-and-image/32838/4 "2021-04-01T17:06:44Z")

</div>

Hi,  
i’m having the same issue, have you find a way to solve this?

---

<div class="post-metadata">

**Author:** ![eric.petke](https://avatars.discourse-cdn.com/v4/letter/e/7feea3/32.png) [@eric.petke](https://forum.inductiveautomation.com/u/eric.petke)\
**Post date:** [April 6, 2021, 7:34am UTC](https://forum.inductiveautomation.com/t/bug-784-change-treeview-node-selected-background-color-and-image/32838/5 "2021-04-06T07:34:11Z")

</div>

Hello, from my side, no solution so far

---

<div class="post-metadata">

**Author:** ![harigobu.gb](https://avatars.discourse-cdn.com/v4/letter/h/b77776/32.png) [@harigobu.gb](https://forum.inductiveautomation.com/u/harigobu.gb)\
**Post date:** [November 1, 2021, 7:39am UTC](https://forum.inductiveautomation.com/t/bug-784-change-treeview-node-selected-background-color-and-image/32838/6 "2021-11-01T07:39:14Z")

</div>

Same behavior in 8.1.5, Any Updates with later versions.

---

<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:** [June 15, 2022, 4:34pm UTC](https://forum.inductiveautomation.com/t/bug-784-change-treeview-node-selected-background-color-and-image/32838/7 "2022-06-15T16:34:31Z")

</div>

This is fixed in 8.1.19.

> [@Nightly 8.1 Changelogs - 2022](https://forum.inductiveautomation.com/t/nightly-8-1-changelogs-2022/54636/92):
>
> Weekly Changelog: 8.1.19-b20220614 Visualization 784: Tree View component's Default Node Selected Background property not working in Ignition 8 Fixed some issues with tree view rendering. Also added two new properties to the tree view component: selectionFillColor, to change the full width selection highlight color, and fullWidthSelection, a boolean allowing you to disable the full width selection highlight entirely. 3787: LaF issue: Vision Progress Bar will always show a border regardless of…
