I created an issue to track this:
http://code.google.com/p/google-web-toolkit/issues/detail?id=5623

<http://code.google.com/p/google-web-toolkit/issues/detail?id=5623>I'll try
to get it into GWT 2.1.1, but we're coming down to the wire.

Thanks,
John LaBanca
[email protected]


On Fri, Nov 19, 2010 at 4:38 AM, Klaus <[email protected]> wrote:

> We have exactly the same problem. Seems this is not possible; same for
> vertical alignment (bottom, middle, top). You can only set one style
> for all columns.
>
>
>
> On 17 Nov., 21:06, Pravin <[email protected]> wrote:
> > Any suggestions on text alignment ?
> >
> > On Nov 11, 9:11 am, Lukas Herman <[email protected]> wrote:
> >
> >
> >
> >
> >
> >
> >
> > > Thanks for pointing this out.
> > > This adds class name to colgroup col, where only limited subset of CSS
> > > properties is allowed (http://www.w3.org/TR/CSS2/tables.html#columns).
> > > Unfortunately text-align is ignored when set on <COL> element.
> > > Anyway, addColumnStyleName() requires additional index over added
> > > columns. A typical use case for this scenario is: create table
> > > displaying row data from the database, displaying firstcolumnis ID
> > > number right aligned, nextcolumnis NAME text centered etc..
> > > WhileCellTableAPI defines addColumn(Column), specifying additional
> > > style properties on addedcolumnwould require to maintain
> additionalcolumnindex property to reference currently addedcolumn.
> >
> > > From my point of view thecolumnstyle name is clearly a property
> ofColumnclass.
> >
> > > With regards
> > > Lukas Herman
> >
> > > On 10 lis, 19:36, John LaBanca <[email protected]> wrote:
> >
> > > > Can you useCellTable#addColumnStyleName() to add the text-align
> property to
> > > > the col element for thecolumn?
> >
> > > > Thanks,
> > > > John LaBanca
> > > > [email protected] Wed, Nov 10, 2010 at 11:01 AM, Lukas Herman <
> [email protected]> wrote:
> > > > > Hello,
> > > > > is there any way to set text-align property onCellTablecolumn? The
> > > > > currentCellTablecode allows only static cellStyle to be applied to
> > > > > tdClasses.
> > > > > I would expect an optionalColumnclass cellStyle property, which
> > > > > would be appended to tdClasses during rendering.
> >
> > > > > --
> > > > > You received this message because you are subscribed to the Google
> Groups
> > > > > "Google Web Toolkit" group.
> > > > > To post to this group, send email to
> [email protected].
> > > > > To unsubscribe from this group, send email to
> > > > > [email protected]<google-web-toolkit%[email protected]><google-web-toolkit%2Bunsubs
> [email protected]>
> > > > > .
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/google-web-toolkit?hl=en.-Hidequoted 
> > > > >text -
> >
> > > - Show quoted text -
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to