var hwcxRecordGrid = new Ext.grid.GridPanel({
id: "hwcxRecordInfoGrid",
store: hwcxRecordStore,
sm: sm,
cm: cm,
loadMask: true,
stripeRows: true,
autoScroll: true,
border: false,
tbar: [ '', '', '<b>搜索条件:</b> ', ' ',
{
xtype: 'textfield',
width: 300,
id: 'fhxx_sousuo',
name: 'fhxx_sousuo',
emptyText: "发车清单号"
}, '', '-', '', {
text: '搜 索',
pressed: true,
tooltip: "关键字:发车清单号",
iconCls: 'serchhwcxRecord',
handler: SerachhwcxRecord
}
]
});如何设置tbar的高度 ,我要把tbar的高度弄高点
id: "hwcxRecordInfoGrid",
store: hwcxRecordStore,
sm: sm,
cm: cm,
loadMask: true,
stripeRows: true,
autoScroll: true,
border: false,
tbar: [ '', '', '<b>搜索条件:</b> ', ' ',
{
xtype: 'textfield',
width: 300,
id: 'fhxx_sousuo',
name: 'fhxx_sousuo',
emptyText: "发车清单号"
}, '', '-', '', {
text: '搜 索',
pressed: true,
tooltip: "关键字:发车清单号",
iconCls: 'serchhwcxRecord',
handler: SerachhwcxRecord
}
]
});如何设置tbar的高度 ,我要把tbar的高度弄高点
还有就是如果只有一行tbar的话 如何使放置的项目折行 ,自动显示到第二行