I don't know, but I am using t:columns successfully (inside a
t:dataTable) to show different cell background colors depending on the
type of the item inside the cell...

Bruno

2005/11/16, Simon Kitching <[EMAIL PROTECTED]>:
> Hi,
>
> I am trying to set a max width for one particular column in an html
> table. The h:dataTable attribute "columnClasses" can be used to assign a
> style-class to all the columns but that's clumsy for my particular usage.
>
> The t:column tag has "style" and "styleClass" attributes. However
> neither of them seem to work for me. Has anyone successfully used these?
>
>  From looking at HtmlTableRendererBase, I would *not* expect them to
> work. The table renderer tends to manage the column's children directly
> rather than ask the UIColumn to render itself. Method
> HtmlTableRendererBase.renderColumnHeaderCell seems to be responsible for
> emitting <TH> tags, but doesn't look for style or styleClass attributes
> on the column object.
>
> Have I missed something?
>
> Regards,
>
> Simon
>

Reply via email to