Monday, May 2, 2011

Re: How to update CellTable's Header Cell based on action in data table

Darn it! I think I was just staring at my code for too long last
Friday. Thanks Thomas! I was successfully able to update my header
cell's value in the onSelectionChange method of my SelectionHandler
and call redrawHeaders() which successfully re-renders the header
cell. I'm not sure how I missed this workflow the first go around.

On Apr 29, 6:23 pm, Thomas Broyer <t.bro...@gmail.com> wrote:
> You might be looking for the CellTable#redrawHeaders()<http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/googl...()>method. In your SelectionHandler, you would update the internal value of
> your Header (whatever is returned by its getValue method) and then
> redrawHeaders() to update the display.
> (just an idea, never ever tried)

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