You can set a string identifier to your columns by using 
Column.setDataStoreName(). The easiest identifier would be the raw database 
column name. Then you can go through the ColumnSortList of your CellTable, 
read the database column name and sort order of each sorted column and pass 
this information to the server. This information can then be used to build 
your ORDER BY clause.

Then you only need to detect if sort order has been changed so you can 
switch back to page one in your CellTable. To do so you can add a 
ColumnSortHandler to each column, which gets notified as soon as sort order 
changes.

-- J.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to