p:tree selection problem

UI Components for JSF
Post Reply
jaime
Posts: 2
Joined: 22 Dec 2010, 20:15

22 Dec 2010, 20:19

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

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

22 Dec 2010, 20:24

You can use css at the moment.

Code: Select all

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

jaime
Posts: 2
Joined: 22 Dec 2010, 20:15

22 Dec 2010, 21:19

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

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 16 guests