problem with the redraw method on a DataGrid
Hi all
-- may be someone already experienced the following problem. I have a DataGrid with chexbox column as first column. There is no selection handler on the DataGrid, because I don't want the whole row to be selected when the user selects its checkbox.
The cells' values in a row come from a data object (Contact).
Here is the use case with problems:
1. the checkbox column of row is checked (the row is not selected)
2. user unchecks the row
3. the checkbox get in unchecked state
4. a RPC call is trigger
5. the action on the server throws an Exception because this action is not possible
6. in the callback response the checkbox of the row should be reset to checkbox state to checked, because the corresponding information in the corresponding Contact has not changed. For that I just call the methode DataGrid#redraw.
Unfortunately the redrawing has no effect.
Does anyone have an Idea why?
Thank you
Rodrigue
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