Tuesday, October 12, 2010

Re: GWT2.1 - Progress Bar Cell & DataProviders

On 2 oct, 04:34, Nick <nix...@gmail.com> wrote:
> I am in the process of creating a Progress Bar Cell  that will work in
> a GWT2.1 CellTable. So far I have the cell rendering a simple html
> progress bar in a manner that is consistent with other cell renders.
>
> I need to somehow update the progress bar cell value after receiving a
> new value.  Should I be using the updateRowData method on the
> AsyncDataProvider?

You should tell the CellTable that the data has changed and it has to
be "re-drawn", yes.
Whether you use an AsyncDataProvider or another data provider, or no
data provider at all is another question; in the end, what matters is
that the setRowData of your CellTable gets called.

--
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.

No comments:

Post a Comment