PDA

View Full Version : [DUP] plugins not working for any Component



r_honey
19 Nov 2011, 6:48 AM
I might be overlooking something, but I have been unable to get a plugin working for any component. e.g. consider:



{
xtype: 'dataview',
plugins: [
new Ext.plugins.PullRefreshPlugin({
ptype: 'pullrefresh',
refreshFn: function () {
debugger;
}
})
],
store: Ext.create('Ext.data.Store', {
model: 'Zone.FileManager.NavigationModel',
proxy: {
type: 'memory',
reader: {
type: 'json'
}
}
}),
itemTpl: new Ext.XTemplate(
'{text}',
),
}


Nothing happens on the plugin. The fact that I do not see any reference to "plugin" in Component or AbstractComponent classes or any of those derived from them makes me feel Sencha Team might have actually overlooked support for plugins :)

mitchellsimoens
19 Nov 2011, 12:47 PM
Thank you for the report. We are still on PR2 so we should expect not everything to work but this will get fleshed out very soon.

r_honey
19 Nov 2011, 9:28 PM
Yupp, thanks..