Ok, this MVC is hurting my head. I have a grid, with an associated store. I have search fields, that should make the store reload the data and update the grid. I have a listener set up in my controller:
I get a 500 server error on the load().
I can provide more info if needed.
Code:
'#searchpo': { specialkey: function(field, e) { if (e.getKey() === e.ENTER) { var searchPOValue = this.getPurchaseOrderGrid().down("#searchpo").getValue(); var theGrid = this.getPurchaseOrderGrid(); var theGridStore = theGrid.getStore(); theGridStore.removeAll(); theGridStore.proxy.extraParams = {searchpo: searchPOValue}; theGridStore.load(); Ext.Msg.alert('Sweet!', 'You searched for PO ' + searchPOValue); } } }
I can provide more info if needed.
Comment