Wednesday, January 8, 2014

ListEditor and sorting

I'm probably being thick but I can't see a nice why to support sorting, on the objects being edited, with the ListEditor...

The ListEditor calls my code just with the created editor and the index in the original list.

No obvious extension point to sort the list of data objects?

The best I can come up with is to build up a mapping from source index to sorted index... Not pretty.

Thanks for any tips!

Sam

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate