Tuesday, January 24, 2012

Re: Making an RPC call from a CellTable ButtonCell in a view (MVP pattern)

Cheers for that Eric. So you are adding the index of the row to the payload of your DeleteEvent?

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 have my list with sortable columns now too - coming along nicely! Never thought I would spend so much time on a table though :/ Still, that's GWT and GAE for you.

Drew

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/HomnY2DAka4J.
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