PDA

View Full Version : unsort after user sort a grid



bhomass
20 May 2010, 2:49 PM
after user sort a grid, we need to let him unsort (go back to no sort). I plan to provide a button for this. what is the api I should use for this?

Thanks.

bhomass
21 May 2010, 5:41 PM
no response means this can not be done?

bhomass
27 May 2010, 4:47 PM
you have to do store.setStoreSorter(null);

I also called grid.clearState();

in case any one else needs this.