I have a form. In the form, I am using a comboBox
with a store
.
{
xtype: \'combobox\',
id: \'SubContractor\',
name: \'SubCo
Try this:
.
.
proxy: {
type: 'ajax',
api: {
create: CONTEXT_PATH + '/mvc/odon/create',
read: CONTEXT_PATH + '/mvc/odon/list',
update: CONTEXT_PATH + '/mvc/odon/update',
destroy: CONTEXT_PATH + '/mvc/odon/delete'
},
.
.
Passing the parameter:
var storeDiagnostico= down('gridpanel').getStore();//Ext.create('store.odont.DStore');
storeDiagnostico.getProxy().setExtraParam("idOdontologia", value);
storeDiagnostico.load();