Page 1 of 1

p:tree selection problem

Posted: 22 Dec 2010, 20:19
by jaime
Hi to all

I'm using PrimeFaces 2.2.RC2, I need a tree to show some data. The tree works fine, it show all the data, but when I click on a node (to select it), the node is selected but it stay with the same color. I need a for to change the color of selecte tree node

Any help???

Thanks a lot

JaimeS

Re: p:tree selection problem

Posted: 22 Dec 2010, 20:24
by cagatay.civici
You can use css at the moment.

Code: Select all

.ygtv-highlight1 {
   background-color:yellow !important;
}

Re: p:tree selection problem

Posted: 22 Dec 2010, 21:19
by jaime
Hi,

Thanks for your repply, but dno'k work :(

I inspect the node style with firebug, and the style is: "ygtvcell ygtvhtml ygtvcontent", I can see "ygtv-highlight"

any sugestion?

thanks again

JaimeS