You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-user@incubator.apache.org by Böhringer Jochen <Jo...@tcc-products.de> on 2006/12/08 16:33:14 UTC

AW: Set background color of row in Trinidad Treetable for specific rows

Thanks for the hint, but I only want to highlight special rows in my tree table by setting the background color to a value different from the other rows in the same treetable.

Regards
Jochen

-----Ursprüngliche Nachricht-----
Von: Causevic, Dzenan [mailto:dcausevic@navisite.com] 
Gesendet: Freitag, 8. Dezember 2006 15:30
An: adffaces-user@incubator.apache.org
Betreff: RE: Set background color of row in Trinidad Treetable for specific rows

I am not sure if this is going to serve your specific needs since this sets the background color on all tree nodes, but this is how you can do it.

.p_OraTreeRow {
   background-color: #someColor;   
}

(You add the above definition in your own skin style sheet of course)

Dzenan Causevic
Software Web Developer
NaviSite, Inc.
Syracuse, NY
(315) 453-2912 x5346

-----Original Message-----
From: Böhringer Jochen [mailto:Jochen.Boehringer@tcc-products.de] 
Sent: Friday, December 08, 2006 9:20 AM
To: adffaces-user@incubator.apache.org
Subject: Set background color of row in Trinidad Treetable for specific rows

Hello,

 

I have a Trinidad treetable which shows a lot of nodes. So a long table is rendered. Some of the nodes in the tree have a special meaning and I want to highlight the node's row in the generated table. The preferred way for me would be to set a different background color for these rows.

 

Is this possible using skinning or applying styles or style classes directly to a row? 

 

The problem I see is, that the nested elements in the treetable are columns. So I cant set a special color for the background of row, only for columns. 

 

Regards

Jochen