我有一个grid
ProjectListReportGrid = Ext.extend(Ext.grid.GridPanel, {
iconCls: 'silk-grid',
id: 'consolidatedReportGrid',
frame: false,
title: 'Project Team Reports[Team Summary Report]',
initComponent: function () {
this.viewConfig = {
forceFit: true
};
this.tbar = this.buildBottomToolbar();
ProjectListReportGrid.superclass.initComponent
.call(this);
},
buildBottomToolbar: function () {
teamSummaryReportButton = new Ext.Button({
iconCls: 'teamsummaryreport',
handler: this.onAdd,
scope: this,
name: 'Summary'
});
}
});我将一个新的toolbar添加到grid之上,如下所示:
consolidatedReportGrid.add(new Ext.Toolbar({
width: 1300,
id: 'remove',
buttonAlign: 'center',
tabPosition: 'top',
items: [myRadioGroup]
}));我想把它的位置定在最上面,但它低于tbar of gridpanel。
发布于 2016-05-26 10:38:07
https://stackoverflow.com/questions/37457564
复制相似问题