How to refresh selectfield popup fields after dynamically changing the store?
I need to dynamically change selectfield(2) depending on results from selectfield(1).

Code fragment:

    var a = Ext.getCmp('selectfield_1');

	window.grp_store = Ext.create('Ext.data.Store', {
		model: 'object',
		storeId: 'group_store',
		proxy: {
			type: 'ajax',
			url: 'ajax_handler.php?mode=gg&p='+a._value.data.value,
			reader: {
				type: 'json'
			}
		}
	});

And somewhere in the code i get selectfield(2) and change the store:

    var b = Ext.getCmp('selectfield_2');
    b.setStore(window.grp_store);

The selectfield(2) works fine, but the popup window (when i tap on selectfield(2)) seems like to view forever cached results, independently on store change. Is this a bug ?
How to refresh selectfield popup fields after dynamically changing the store?
===

I need to dynamically change selectfield(2) depending on results from selectfield(1).

Code fragment:

    var a = Ext.getCmp('selectfield_1');

	window.grp_store = Ext.create('Ext.data.Store', {
		model: 'object',
		storeId: 'group_store',
		proxy: {
			type: 'ajax',
			url: 'ajax_handler.php?mode=gg&p='+a._value.data.value,
			reader: {
				type: 'json'
			}
		}
	});

And somewhere in the code i get selectfield(2) and change the store:

    var b = Ext.getCmp('selectfield_2');
    b.setStore(window.grp_store);

The selectfield(2) works fine, but the popup window (when i tap on selectfield(2)) seems like to view forever cached results, independently on store change. Is this a bug ?