Greg_S
17 Apr 2012, 5:57 AM
Hi,
I am trying to add a pagingtoolbar and searchfield onto MVC app, broadly based on the Sencha example MVC.
I have a named store 'mystore' and have added dockedItems which require a store.
I am passing the store within these as 'mystore'
e.g.
dockedItems:[{
xtype: 'toolbar',
items:[{
fieldLabel:'Search',
xtype:'searchfield',
dock:'top',
store:'mystore',
}]
}]
When logging what the store is passed as within my docked item it receives the string 'mystore' rather than the store itself.
what am I doing wrong?
I am trying to add a pagingtoolbar and searchfield onto MVC app, broadly based on the Sencha example MVC.
I have a named store 'mystore' and have added dockedItems which require a store.
I am passing the store within these as 'mystore'
e.g.
dockedItems:[{
xtype: 'toolbar',
items:[{
fieldLabel:'Search',
xtype:'searchfield',
dock:'top',
store:'mystore',
}]
}]
When logging what the store is passed as within my docked item it receives the string 'mystore' rather than the store itself.
what am I doing wrong?