Hi Pohl,
I decided this would be the best case. Although, since I have a custom
data model instead of making the request to the server, I am able to
catch it and play with it instead of making a RPC call.
My question to you is, on the ColumnSortList. I have lets say 4
sortable columns in my table.

When you do the following as you suggested:

ColumnSortList csList = request.getColumnSortList();
int column = csList.getPrimaryColumn();
ColumnSortInfo info = csList.getPrimaryColumnSortInfo()
boolean isAscending = csList.isPrimaryAscending();

Does the column value return the value of the column that was clicked
each time I click on a column to sort? or does it just return the
primary column (e.g always returns col 1)
Part of my question is really asking, if I need to be doing any coding
for extending the ColumnSortList to form my own?


Let me know your thoughts.

Thanks
Suri



On Dec 9, 4:04 pm, pohl <[email protected]> wrote:
>  On Dec 5, 8:38 am, Suri <[email protected]> wrote:
>  > Hi Pohl,
>  > Thanks for the idea. I figured there could be a way around it
> maybe,
>  > but from what I read about the gen2PagingScrollTablefrom the
>  > incubator's synopsis, it seemed like they mentioned the sorting can
> be
>  > done locally as well
>
> Actually, everything that I suggested was an effort to figure out how
> to sort locally.  I assume that "locally" means on the client side,
> which is where your TableModel lives.  The more I think about it, the
> more it seems like this is exactly what the incubator synopsis means
> by sorting locally.  I believe they expect you to interrogate the
> ColumnSortList and sort it differently for each case.
--~--~---------~--~----~------------~-------~--~----~
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