aspose file tools*
The moose likes JSF and the fly likes How to change Style of a single Row in t:datatable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "How to change Style of a single Row in t:datatable" Watch "How to change Style of a single Row in t:datatable" New topic
Author

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

Mario Luef
Greenhorn

Joined: Oct 05, 2011
Posts: 6

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

Joined: Jun 25, 2001
Posts: 16305
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to change Style of a single Row in t:datatable