PDA

View Full Version : Tree node backcolor problem



vicvolk
4 Jan 2013, 7:25 AM
Hi, guys! I use rec.set('text', text) in order to change the text of a node in my treepanel. But after that the node loses its backcolor, so that when I click on the node the back color is white, and not dark blue. Does anybody know how to solve this makeup problem? Thank you!

PS. I use extjs 4.0.0

mitchellsimoens
7 Jan 2013, 10:49 AM
What is putting the dark blue color on it? Inspect the dom to see what classes are on that element.

vicvolk
14 Jan 2013, 7:02 AM
Thank you, mitchellsimoens!