Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

newbie: displaytag and Java  RSS feed

 
Yile Ku
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am taking over some code and I want to set the background color of the rows of a table according to a value in one of the columns. I know I need to add a function called addRowClass to the TableDecorator, but I am not sure how to get the values in each of the columns for that row and then set the row color using Java. Any help is appreciated.
M-
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!