Reputation: 18107
If the user changes a column size, the grid stateManager saves the state of the grid. However if you provide a reset button and use grid.reconfigure() the state does not get saved.
How do you force the grid to issue a state save with a reconfigure?
Upvotes: 1
Views: 1606
Reputation: 190
You can use grid.initState() just after the reconfigure. Like below.
grid.reconfigure(store, columns);
grid.initState();
Eventhough initState() can not find on Ext js documentation this works for with the ver 4.2
Hope this helps
Upvotes: 0