Sunday, May 4, 2014

How to make sure “cellTable.getColumnSortList().push” sort column Descending (GWT)?

I want myCellTable to sort qtyColumn descending. That is the ones with highest qty will be on top.

myCellTable.getColumnSortList().push(qtyColumn);  myCellTable.getColumnSortList().push(qtyColumn);  //someone said we have to do the push twice. I did but it still sort Asc.   So I think the above code doesn't seem elegant  

I just need 1 simple code that guarantee that the table will show data with qty column sorted desc.

So, How to show table with qty column sorted desc?


http://stackoverflow.com/questions/23462211/how-to-make-sure-celltable-getcolumnsortlist-push-sort-column-descending-gw

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment