Thursday, September 22, 2011

Re: Setting a style for a single cell of a celltable

Thanks for the responses. I'm very new to GWT/Java so I'm not too
sure what you mean by override getCellStyleNames(). Is there an
example of this (or maybe a good place for a quick explanation)?

Thanks again!

On Sep 21, 6:21 am, Sudhakar Abraham <s.abra...@datastoregwt.com>
wrote:
> You can  set a style for individual cells  of a cell table . Override
> the getCellStyleNames() in your Column<T,C> class.
>
>  S. Abrahamwww.DataStoreGwt.com
> Persist objects directly in GAE
>
> On Sep 20, 8:41 pm, Rike255 <rgro...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hey all,
>
> > So I have a celltable that contains a few textcolumns.  I want to be
> > able to set a style for individual cells based on its contents.
>
> > I can set a style for a specific column by calling something like:
> > cellTable.getColumn(index).setStyleNames(style.disabled());
>
> > The above works but I can't figure out how to only apply a style to
> > one (or more) cells.
>
> > Thanks in advance!
> > Ryan

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate