reconfigure( Ext.data.Store store, Ext.grid.ColumnModel colModel ) : void Reconfigures the grid to use a different Store and Column Model and fires the 'reconfigure' event. The View will be bound to the new objects and refreshed. Be aware that upon reconfiguring a GridPanel, certain existing settings may become invalidated. For example the configured autoExpandColumn may no longer exist in the new ColumnModel. Also, an existing PagingToolbar will still be bound to the old Store, and will need rebinding. Any plugins might also need reconfiguring with the new data. Parameters: store : Ext.data.Store The new Ext.data.Store object colModel : Ext.grid.ColumnModel The new Ext.grid.ColumnModel object Returns: void
Reconfigures the grid to use a different Store and Column Model and fires the 'reconfigure' event. The View will be bound to the new objects and refreshed.
Be aware that upon reconfiguring a GridPanel, certain existing settings may become invalidated. For example the configured autoExpandColumn may no longer exist in the new ColumnModel. Also, an existing PagingToolbar will still be bound to the old Store, and will need rebinding. Any plugins might also need reconfiguring with the new data.
Parameters:
store : Ext.data.Store
The new Ext.data.Store object
colModel : Ext.grid.ColumnModel
The new Ext.grid.ColumnModel object
Returns:
void
用ext同步http请求实现了,就是先取得fields的json,然后new出JsonStore来。其实这也是问题的核心核心所在。