0

我想在 gird bbar(底栏)添加工具栏和分页。但如果我将两者都添加到 bbar 数组中,它会出现在单行中。我需要的是第一行的分页和第二行的工具栏.. 以前有人处理过这些问题吗?

4

1 回答 1

0

您可以尝试这种方法:

this.toolBar = new Ext.Container({
        height: 54,
        layout: 'anchor',
        xtype: 'container',
        defaults: {
            anchor: '100%',
            height: 27
        },
        items: [
            this.toolBar1,
            this.toolBar2
        ]
    });

并将此容器放在网格 tbar 或 bbar 中。

于 2012-10-04T08:50:26.753 回答