DZone Forums
Go Back   DZone Forums > Community > Design & Usability > CSS & HTML
Reload this Page Conditional row color change in rich:datatable
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jul 2009
Cool Conditional row color change in rich:datatable - 07-16-2009, 04:43 AM

I have a richfaces datatable showing a list of data. I need to set the background color of certain rows depending on some values in the rows.

What is the smartest and most efficient way of doing this?

I believe I may be able to write some small javascript code inside a style attribute or something like that.

Hope someone can give me a good answer (with code example)

Thank you in advance.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ARABIC lang compatibility with JSF datatable tag CAT Java 0 07-01-2009 08:53 AM
Conditional Operators robinsjt Java 2 01-27-2009 12:45 PM
change osgi.nl programatically joesusai Eclipse 0 12-08-2008 11:56 PM
how to change the rcp menubar and coolbar 's color and background image bright_chen7 Eclipse 0 10-08-2008 07:10 AM
how to get rich text box in icefaces of java priya7 Java 1 02-25-2008 11:03 AM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com