刷新组合框的数据被陷在组合框中的刷新数据在ExtJS的4, 按钮点击试图通过重装店重装组合数据 -在ExtJS的4
Ext.StoreManager.lookup('test').load();
商店重新加载,但数据不反映在组合框上。
有什么办法吗?
{
xtype : 'combo'
,fieldLabel : 'Default Role'
,name : 'org_default_role'
,store : Ext.create('ASA.store.Roles')
,displayField : 'role_rolename'
,valueField : 'role_id'
,queryMode : 'local'
,labelWidth : 100
,width : 241
,triggerAction : 'all'
}
它应该这样做,你的组合框如何绑定到你的商店?你能再展示一些代码吗? – dougajmcdonald
嗨,你可以请检查我的代码我已编辑我的文章与组合代码 – Kanchan
如果您将queryMode属性更改为'remote': ',queryMode:'remote'' –