> If you are using a ListDataProvider, you can sort the list manually at any > time: > Collections.sort(dataProvider.getList(), myComparator).
hi, that is what i am doing, no problem sorting result before adding it to ListDataProvider, but: i have two columns, and user clicks on a first column header and sorts. after that user calls new data, i fetch them, sort (by second column!) and add to ListDataProvider. table shows data sorted by second column, thats ok, but sort indicator is still in the header of first column. or, imagine i want users to sort by clicking buttons (outside table), not just clicking on headers. i can do that by sorting data provider's list, and table get sorted, but there's no arrow showing by what column is table sorted. -- 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.
