I was able to work around this by adding a setList method to ListHandler<T>. With the new method I was able to execute the following code after the grid row data had been updated:
ListDataProvider.setList(data); listSortHandler.setList(ListDataProvider.getList()); That set the new "listWrapper" to the ListHandler. I've created an enhancement request to the GWT project so that we can have access to a ListHandler.setList method: http://code.google.com/p/google-web-toolkit/issues/detail?id=7072 On Dec 15, 3:48 pm, Casey <j.casey.one...@gmail.com> wrote: > I'm having the same issue. What was your solution? > > On Dec 13, 9:00 am, Rodrigue Lagoue <rlag...@googlemail.com> wrote: > > > > > > > > > Hi Ed, > > > thank you for your response. I just solved the problem. The cause was the > > use of the method ListDataProvider#setList(), it assigns the field > > "listWrapper" to a new instance, and since the ListHandler was initialized > > with first value of listWrapper, the sortHandler continued to point on a > > list no more maintained by the dataprovider, that's why the sorting didn't > > work. > > > Thank you again for the answer. > > > Best. > > > On Tue, Dec 13, 2011 at 4:06 PM, Ed <post2edb...@gmail.com> wrote: > > > How did you debug this? and what happens when you click on the column > > > in the code (debugging it)? > > > > On Dec 13, 2:56 pm, Rodrigue Lagoue <rlag...@googlemail.com> wrote: > > > > Hi all, > > > > > I'm experiencing a problem with column sorting in datagrid. I think all > > > is > > > > done like in the show case, but when I click on a column nothing > > > > happens, > > > > thesorticon (the triangle) only appears after (without sorting), when I > > > > select a row (via the checkbox). > > > > > What could be the causes of such a problem? > > > > > Thank you > > > > Bests > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "Google Web Toolkit" group. > > > To post to this group, send email to google-web-toolkit@googlegroups.com. > > > To unsubscribe from this group, send email to > > > google-web-toolkit+unsubscr...@googlegroups.com. > > > For more options, visit this group at > > >http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.