Looks like we can't reproduce the issue or there's a problem in the test case provided.
-
Ext JS Premium Member
[4.2.0 GA] extraParams not working
I have defined a DirectStore with a proxy and extraParams. The extra params are not passed
Code:
var store = Ext.create('Ext.data.Store', {
model: 'LogicalUnitDto',
autoLoad: true,
proxy: Ext.create('Ext.data.proxy.Direct',{
type: 'direct',
directFn:Login.GetLogins,
extraParams:{
test:'test'
},
})
});
The store loads but no params are passed.
Cheers,
Peter
-
Ext JS Premium Member
Please ignore. Sth wrong with my direct mvc configuration. Method Len was 0 and should have been 1