douggiefox
3 Feb 2010, 3:17 AM
Hi
I'm trying to reload a grid's store when the value of a textfield is changed. I'm trying this:
'change': function( field, newValue, oldValue ) {
var ds = memberQuotationGrid.store;
ds.reload({params: Ext.apply({commission:newValue}, ds.lastOptions.params)});
},
If I check the POST in firebug, the value of commission never changes - even if I hard code a value in.
Any ideas?
Best
DF
I'm trying to reload a grid's store when the value of a textfield is changed. I'm trying this:
'change': function( field, newValue, oldValue ) {
var ds = memberQuotationGrid.store;
ds.reload({params: Ext.apply({commission:newValue}, ds.lastOptions.params)});
},
If I check the POST in firebug, the value of commission never changes - even if I hard code a value in.
Any ideas?
Best
DF