I'm currently using a Gwt CellTable, bound to my GAE/Objectify backend
via RPC calls.
All right now! :-)
Then I want to sort columns, so I read
http://code.google.com/intl/it-IT/webtoolkit/doc/latest/DevGuideUiCellTable.html#columnSorting
The Async Remote sorting sections shows very well how to get sorting
into my AsyncDataProvider but... how can I retrieve the name of the
column the user wants to sort?
It shows this code: ColumnSortList sortList =
table.getColumnSortList();
But how can I get String names from that? I simply want to know
"surname" or "soldDate", the name of the field the column is bound
to!
Then I will pass it to my rpc service, and use it to sort data server-
side query(...).order(<field_name>)
Am I missing something?