You might be able to use a trick like

headerClass=#{columnBackgroundColorProvider.colorStyleClass['ColumnNameOrColumnNumber]}"

See this link for creating colorStyleClass.
http://wiki.apache.org/myfaces/Parameters_In_EL_Functions

On 4/26/07, Po Po <[EMAIL PROTECTED]> wrote:
Hi,
How to create a table with t:datatable, but with
different style in the table header
ie, the table with 6 columns. In the header, column
number 1-3 will be put background color red, and
column number 4-6 will be put background color yellow.

I think, attribute headerClass will affect in all
header column.
Should it be created a custom datatable component?

Thanks,
Popo

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Reply via email to