jeanluca
3 Feb 2012, 2:39 AM
Hello
I woud like to use the PullResfresh plugin on a Panel. However I get the feeling it can only be applied to a list. Is this true and if so, is it somehow possible to enable this behavior on a panel ?
So, when I do
Ext.define('MyNs.view.Main', {
extend : 'Ext.Panel',
xtype: 'mainView',
config: {
plugins: [
{
xclass: 'Ext.plugin.PullRefresh',
pullRefreshText: 'Pull down for more new Tweets!'
}
],
layout: 'vbox',
....
I get an error in the console telling
Uncaught TypeError: Cannot call method 'getScroller' of undefined
Any suggestions ?
I woud like to use the PullResfresh plugin on a Panel. However I get the feeling it can only be applied to a list. Is this true and if so, is it somehow possible to enable this behavior on a panel ?
So, when I do
Ext.define('MyNs.view.Main', {
extend : 'Ext.Panel',
xtype: 'mainView',
config: {
plugins: [
{
xclass: 'Ext.plugin.PullRefresh',
pullRefreshText: 'Pull down for more new Tweets!'
}
],
layout: 'vbox',
....
I get an error in the console telling
Uncaught TypeError: Cannot call method 'getScroller' of undefined
Any suggestions ?