Friday, July 24, 2015

Celltable keep selection after updateRowData

Hi everyone,

I use the gwt celltable and get a problem, when reloading data:
Im using single selection model with it.

So after the celltable is loaded the first time, the data is displayed (9 records). I select one row and reload the data via a button.
The data gets fetch from server and updateRowData(0,receivedData) is called.

The new data is now displayed and the previously selected row is still selected. Thats good.
But when I select another row, the previously selected row stays selected and the newly selected line is also selected. So it appears, there are 2 rows selected, even though I got a single selection model.

Same workflow on the datagrid, do not cause this problem.

Does anyone know, how to solve this?
Thanks in advance.

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/d/optout.

No comments:

Post a Comment