Extjs sencha touch 2.2中的摸索列表

Extjs sencha touch 2.2中的摸索列表,extjs,sencha-touch,sencha-touch-2.2,Extjs,Sencha Touch,Sencha Touch 2.2,我正在使用摸索列表。除了有一个问题外,它工作正常。列表在滚动之前不会刷新。我使用refresh()和load()函数来刷新列表,但这不起作用。提前谢谢 下面是列表配置 { id: 'teamListId', xtype: 'list', scrollable: true, itemTpl: new Ext.XTemplate('<div class="teamInfo">',

我正在使用摸索列表。除了有一个问题外,它工作正常。列表在滚动之前不会刷新。我使用refresh()和load()函数来刷新列表,但这不起作用。提前谢谢

下面是列表配置

{
            id: 'teamListId',
            xtype: 'list',
            scrollable: true,
            itemTpl: new Ext.XTemplate('<div class="teamInfo">',
                                '<div class="teamName">{teamName}</div>',
                                '<div class="teamStatus">',
                                    '<tpl if="isMyTeam === true">',
                                        '<img src="resources/images/check.png"/>',
                                    '<tpl else>',
                                        '<img src="resources/images/add.png"/>',
                                    '</tpl>',
                                '</div>',
                            '</div>'),
            store: 'Team',
            itemCls: 'teamListItem',
            action: 'teamListItemTap',
            grouped: true,
            flex : 1
        }

需要一些代码来帮助你,如果可能的话,请共享sencha fiddle..你使用pull to refresh插件来刷新列表/你如何更新列表r只是调用refresh to store.我只是在重新加载存储..k然后在重新加载之前同步存储,然后重新加载应该可以..同步和重新加载对我不起作用。
Ext.data.JsonP.request({
      url: strUrl,

      params: {
      Id : Id,
      param2 :paramValue2,
      param3 : paramvalue3,
      },
      success : function(response, opts) {
      if(response.result == 'success') {
          var teamStore = Ext.getStore('Team');
          teamStore.load({
             params: {
             league_Id : leagueId,
             subscriber_email : userEmail
             }
             });
          }
      },
      failure : function(response, opts) {
          Ext.Viewport.setMasked(false);
          if (response.timedout) {
          Ext.Msg.alert('Timeout', 'The server timed out. Please try again later.', Ext.emptyFn());
          }
          else if (response.aborted) {
          Ext.Msg.alert('Aborted', 'Looks like you aborted the request!', Ext.emptyFn());
          }
          else {
          Ext.Msg.alert('Bad', 'Something went wrong with your request.', Ext.emptyFn());
          }
      }
  });