File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • 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
  • 0
  • 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: 17619
39
Android Eclipse IDE Linux
  • 0
  • 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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic