Sorting data in the grid and swapping all the cells about gets very slow
very quickly as the number of cells increases.
You might be better off with an arraylist (for rows) of arraylists (for
widgets in cells) and then sort the rows-arraylist according to the value of
a certain column widget.

Then you need a routine to populate the grid.

Ian

http://examples.roughian.com


2009/3/30 [email protected] <[email protected]>

>
> Hi everyone,
>
> Is there a way to sort a column in say Ascending order using a grid.
> Basically, I have a column called 'Total Cost' that adds together some
> values for each row, and I now need to sort the rows with the highest
> first. Is there a simple way to do this?
>
> Regards,
> Jack
> >
>

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