Sencha touch 2 如何在SenchaTouch2中将html附加到列表的底部?

Sencha touch 2 如何在SenchaTouch2中将html附加到列表的底部?,sencha-touch-2,Sencha Touch 2,我想在列表下面附加一个loading div,就像listpaging那样。(出于其他原因,我没有使用listpaging)。如何执行此操作?将容器的布局设置为“vbox”,并在列表下方添加一个包含html的容器 示例: Ext.define("MyApp.view.MyView", { extend : "Ext.Container", config : { layout : 'vbox', fullscreen : true,

我想在列表下面附加一个loading div,就像listpaging那样。(出于其他原因,我没有使用listpaging)。如何执行此操作?

将容器的布局设置为“vbox”,并在列表下方添加一个包含html的容器

示例:

Ext.define("MyApp.view.MyView", {
    extend : "Ext.Container",
    config : {
        layout : 'vbox',
        fullscreen : true,
        items : [{
            xtype : 'list',
            itemTpl : '{name}',
            store : 'MyStore',
            layout : 'fit',
            flex : 1                    
        }, {
            height : 50,
            xtype : 'container',
            html : "HELLO WORLD"
        }]        
    }
});

Sencha Fiddle示例:

那么您为什么不看看ListPaging.js,看看它是如何工作的呢?ListPaging绑定了一个事件来存储负载。我不太明白,为什么会被否决?