1

我想要做的是在 ajax 填充列表的底部有一个“加载更多”按钮。我已经让所有代码都使用停靠按钮,但我现在想把它放在底部。

发生的事情是listView显示卡片时,我看到了我的列表,但列表不会滚动。它会上下拉动一点,但不会有。我尝试添加不同的配置和布局listView,没有什么不同。

我所做的是以下

var moreButton = new Ext.Button({
    text: 'Load more...',
    ui: 'round',
    handler: function() {//Do the loading - this works}
});

//In my list config I have a docked top bar for going "back" other than that pretty standard
var list = new Ext.List(Ext.apply(listConfig, {
    fullscreen: false
}));

//This is my view for what I am trying to do
var listView = new Ext.Container({
    items:[list, moreButton]
});

listView然后将其添加到另一个容器,因为它是从搜索框中填充的,setCard当我从服务器获得有效响应时会显示。

4

1 回答 1

0

【煎茶人】你在0.98吗?我认为我们的滚动条出现了回归。可能想降级回0.97

于 2010-11-01T14:16:08.997 回答