Stephan Stückmann
21 Jul 2011, 10:03 AM
Hi,
we have a problem with applying the saved sort state of our grid, which uses clientside paging with a PagingModelMemoryProxy and BasePagingLoader.
In Grid.doApplyStoreState() there is this line:
if (store.getLoader() == null && sortField != null)...
I think this should be:
if ((store.getLoader() == null || !store.getLoader().isRemoteSort()) && sortField != null)...
Or just skip the loader check, because in ListStore.sort() there is a check for the loader already?
Kind regards,
Stephan
we have a problem with applying the saved sort state of our grid, which uses clientside paging with a PagingModelMemoryProxy and BasePagingLoader.
In Grid.doApplyStoreState() there is this line:
if (store.getLoader() == null && sortField != null)...
I think this should be:
if ((store.getLoader() == null || !store.getLoader().isRemoteSort()) && sortField != null)...
Or just skip the loader check, because in ListStore.sort() there is a check for the loader already?
Kind regards,
Stephan