[color=darkred][/color]下面红色显示的部分是一个查询框,但是没有效果,有什么问题?
他是更具那个属性查的,我要指定按照某一属性查询该怎么做?
var grid_daily_hq = new Ext.grid.GridPanel({
autoScroll:true,
autoShow:true,
border: false,
store: store_daily_hq,
stripeRows:true,
cm:cm,
sm: new Ext.grid.RowSelectionModel({singleSelect:true}),
pageSize: pagesizes,
autoExpandColumn:'name',
frame:true,
[color=red]tbar: ['合同查询: ',' ',new Ext.app.SearchField({
store: store_daily_hq,
width:250
})],[/color] bbar : pagingBar_daily_hq,
view: new Ext.grid.GroupingView({
forceFit:true,
groupTextTpl: '{text} ({[values.rs.length]} {["条"]})'
}),
iconCls:'icon-grid'
});