Sep 18, 2015, 8:39 PM
[CLOSED] Equivalent of clearHeaderSortState()?
Hi,
What's the equivalent of and best practices for the following code block in v3.2? It's supposed to remove data from the Store and completely reset any sorting applied to it.
What's the equivalent of and best practices for the following code block in v3.2? It's supposed to remove data from the Store and completely reset any sorting applied to it.
var grid = App.MyGrid;
grid.getStore().removeAll();
delete grid.getStore().sortInfo;
// This function doesn't exist in v3.2
grid.getView().clearHeaderSortState();
Last edited by Daniil; Sep 21, 2015 at 3:25 PM.
Reason: [CLOSED]