Sunday, September 22, 2013

DataGrid, updateRowData and setSelected

Hi everyone,

I got a DataGrid with a AsyncDataProvider.
First I add a Record to my ListOfEntities via ListOfEntities.add(myNewEntity).
Then I set selected via Model.setselected(myNewEntity,true).
Then I call provider.updateRowData(Start, ListOfEntities);

Now my DataGrid shows the List including myNewEntity, but the selected Item in the List is not updated.

In general, the setSelection works. But when I also use updateRowData() the selected row is not correctly set. It stays unchanged.

How can i solve this?

Thanks in advanced.

Regards,
Manuel

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