Hi!
Thank you very much, it almost works:)
Except: in my table i have several tr:column tags, they are look something like: <tr:column headerText="Status" styleClass="tblCenter" >...</tr:column> When I use this, the contents of the column will be centered (because of my tblCenter definition), but the header is not, so I added an align="center" attribute to this and now it looks like: <tr:column headerText="Status" styleClass="tblCenter" align="center">. Thus the header will be centered as well.
But for this columns my background definitions are ignored.
1. In tr:column, why styleClass doesn't affect the header?
2. What can be a workaround for this situation?

Thanks!
Tamas

Abhijit Ghosh wrote:
Hi again,
More skinning info here:
http://wiki.apache.org/myfaces/Trinidad_Skinning_FAQ

-- Abhi

On 7/11/07, *Abhijit Ghosh* < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi,
    You need to define your custom skin and override the foll selectors:
    af|column::cell-text{background-color:red}
    af|column::cell-text-band{background-color:orange}

    More information here:
    http://myfaces.apache.org/trinidad/skin-selectors.html

    Thanks,
    Abhi



    On 7/11/07, *Tamas Fabian * < [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>> wrote:

        Hi!

        I use a tr:table for displaying a table, and I would like to have
        banding (when even and odd rows have a different background
        color).
        The banding works, but I would like to change the 'default'
        banding
        colors. Is it possible? How?
        Thanks!
        Tamas




Reply via email to