View Full Version : Paged Grid w/ local sorting

30 Apr 2009, 3:56 PM
I'm using the a paged grid with remote sorting turned off. My problem is that when I try to sort, only the current page is sorted so that when I go to the next page, things are not sorted and don't look right. Is this expected, or am I doing something wrong?


5 May 2009, 12:22 PM
I'm asuming you are using the BasePagingLoader to retrieve your data? If thats the case, it will return to the client only the current page of data, so your local sorting is only sorting on that page and not the entire data set. I ended up writing a local memory paging loader to satisfy my needs. GXT now has a PagingModelMemoryProxy that handles local paging (and sorting).