View Full Version : PullRefresh applied to Ext.Panel

3 Feb 2012, 2:39 AM

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 ?

3 Feb 2012, 7:53 AM
The plugin is only meant for List. You can debug and see if you can create your own plugin to work for you.

3 Feb 2012, 8:22 AM
ok thnx