Hi Jeff,

Thanks.  Of course I'm need this for an AsyncDataProvider (the data's
on the server, not the client.  At 78,000+ rows I'm only bring over
the ones I need).  So my comparator classes provide SQL command
strings to the server to sort the data.

I must admit, I am curious: Do people actually use a CellTable to
display local data?  I thought the whole point of them was to let you
download subsets of your data from the server.  No?  (Note: this isn't
a "why aren't you making code that I can use" whine, since even if you
did an AsyncDataProvider example, it would be using an ORM, and I
don't use those).

Greg

On Dec 10, 9:48 am, Jeff Schwartz <[email protected]> wrote:
> When the user clicks on a column header you would get the list of data via
> the ListDataProvider associated with the table and sort the list as per the
> needs of your application. You can maintain state for the current ordering
> and a second click on the column header can reverse the ordering of the
> sort. Once the sort is done you then just refresh the DataProvider and the
> table will refresh to reflect the changes to the list. It is quite simple.
>
> Jeff
>
> On Thu, Dec 9, 2010 at 11:17 AM, Greg Dougherty
> <[email protected]>wrote:
>
>
>
> > My users would like to be able to sort my CellTable by clicking on a
> > Column title.  Is there an existing GWT widget for putting a downward
> > or upward pointing triangle in a CellTable Column title?  For that
> > matter, what do I have to do to get a mouse click IN a Column title?
>
> > Thanks,
> > Greg
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-web-toolkit%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> *Jeff Schwartz*

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to