• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to change Style of a single Row in t:datatable

 
Mario Luef
Greenhorn
Posts: 6
Android Chrome Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello again!

I have to make a "Sub-Header" in my datatable and so i tried to put an empty row in the table. It works, but
now i also have to change the Background of this row to darkgrey and this doesn't work. Tried to put an
outputvalue in the single cell with value " " giving it a CSS style but this doesnt work.

Any idea?

Thanks!
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17995
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't recommend playing those sort of games. The datamodel is supposed to be a DATA model, not a kludgy way of hacking the View.

There are JSF extension tagsets that can actually do sub-headings, RichFaces has one. It's a lot cleaner and more powerful.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic