Monday, September 23, 2013

Re: DataGrid, updateRowData and setSelected


Am Montag, 23. September 2013 01:33:48 UTC+2 schrieb Jens:
... once your find() method is finished you should call selectionModel.setSelected(foundEntity, true)....

But I got to add the Proxy I received into the List and need to updateRowData, no?  I changed my Code and its works better now, but there is still something wrong.

Im confused about the selectionModel.clear()-method. I got the following behaviour:
1) select line 5 in the grid
2) call selectionModel.clear() --> no line is selected
3)call selectionModel.clear() again--> line 5 is selected again

Can anyone explain that ?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment