Thursday, August 16, 2012

Re: updating a single cell



On Thursday, August 16, 2012 5:22:51 PM UTC+2, ssamara wrote:
Not sure if you can re-render cells in isolation, but you should be able to get it to redraw individual rows rather than the whole table. Try replacing the updated item with itself in the DataProvider (e.g. if using a ListDataProvider by calling set(index, item) on the underlying List, or if using an AsyncDataProvider by calling updateRowData on the dataprovider passing in a singleton list containing just the updated item). Alternatively you can try calling setRowData() on the DataGrid itself.

…or use redrawRow()

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/PY4q3fgoPNsJ.
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