> Cheers for that Eric. So you are adding the index of the row to the payload
> of your DeleteEvent?
Yes, you can see I pass the index in my event.
> I actually just switched to using ListDataProvider instead of just calling
> setData() every time something is removed or added. I was basically
> reloading the presenter every time something changed. So my understand is
> that with ListDataProvider I only have to remove the item from the list and
> then it can update the CellTable automatically. Is that right?
I think you will need to get the list from ListDataProvider, remove
the item, and set ListDataProvider with the new list. I believe it
should update automatically from there. I think they suggest doing
rowcount and visible range.
--
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.
No comments:
Post a Comment