I have found several examples but I cannot get it to work. Here is my combo box code.
When I run my code I get the following error: qeb.dsEvents is undefined
I have seen an example use "qe" instead of "qeb". But I get the same error.
What is the correct syntax?
Thanks in advance.
Code:
xtype: 'combo', id: 'EVENT', fieldLabel: 'Activity', triggerAction: 'all', emptyText: 'Select Activity...', editable: false, forceSelection: true, valueField: 'EMEVENT', displayField: 'EMNAME', store: dsEvents, mode: 'remote', listeners: { beforequery: function(qeb){ delete qeb.dsEvents.lastQuery; }, select: function(){ dsUsers.reload(); SaveEVENT = Ext.getCmp('EVENT').getValue(); } }
I have seen an example use "qe" instead of "qeb". But I get the same error.
What is the correct syntax?
Thanks in advance.
Comment