Re: Sorting CellTable data server-side

2011-09-02 Thread Jeff Larsen
In the meantime you could create a map with the Column and with the database 
name. 

-- 
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/-/_zKty6W-OCUJ.
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.



Re: Sorting CellTable data server-side

2011-09-02 Thread fabio.bozzo
So.. do I have to update my gwt sdk version?

On 1 Set, 17:39, Thomas Broyer  wrote:
> That's probably the reason behind this recent 
> change:http://code.google.com/p/google-web-toolkit/source/detail?r=10487

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



Re: Sorting CellTable data server-side

2011-09-01 Thread Thomas Broyer
That's probably the reason behind this recent change: 
http://code.google.com/p/google-web-toolkit/source/detail?r=10487

-- 
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/-/CydpvjqN--8J.
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.



Sorting CellTable data server-side

2011-09-01 Thread fabio.bozzo
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()

Am I missing something?

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