Actually you can use Collection.sort with the Comparator in the server side (if you use Java as your server). I have used it in order to do the multi-level sorting because Let's see some example of Collection.sort and Comparator here
http://download.oracle.com/javase/tutorial/collections/interfaces/order.html But the things is you have to create a list in order to collect the order of sorting and then you send it to the server. For example if I have my function for pulling some data like this public List fetchData() { // fetch data } you just added the criteria as the argument of the function like this public List fetchData(List sortingCriteria) { // fetch data } Hope that my answer can help you. Your welcome : ) Peerawat 2011/7/12 Ambrus Péter <peter.amb...@gmail.com> > Hi, > > I would like to create a CellTable which gets data from the server > through RPC. That's good, no problem with it. Then I'd like to add > some sorting feature with async sorting on the server. That's why I'd > like to push data table's ColumnSortList through RPC to the server. > Unfortunately ColumnSortList doesn't implements isSerializable, so I > can't send it to the sever. > > How can I send the ColumnSortList information to the server, or how > should I implement a sorting method on the server without the > ColumnSortList object? > > Thank you, > Peter > > -- > 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+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.