sencha touch 在NavigationView中怎么添加pullrefresh?

请问要把
plugins: [
  {
    xclass: 'Ext.plugin.ListPaging',
    autoPaging: true
  }
],
itemTpl: [
  '',
  '

{text}
'
],
这一段放到什么位置,我放到了navigationbar上面,然后一直报错Uncaught TypeError: Cannot read property 'getScroller' of undefined。

MVC结构,大概框架如下:
config:{
  navigationbar:{
  },
  items:[
    {
    },
    {
    }
  ]
}

加在itemTpl: []的上边。如下:
config:{
  navigationbar:{
  },
  items:[
    {
    },
plugins:[],
    itemTpl:[]
  ]
}

你在属性标签里找找看

加在itemTpl: []的上边。如下:
config:{
  navigationbar:{
  },
  items:[
    {
    },
plugins:[],
    itemTpl:[]
  ]
}

加在itemTpl: []的上边。如下:
config:{
  navigationbar:{
  },
  items:[
    {
    },
plugins:[],
    itemTpl:[]
  ]
}