没有自定义的刷新按钮设置,所以我试图隐藏/删除它.
hideRefresh: true不适合我.
如果没有办法隐藏它,我可以在单击按钮时至少传递一些参数,这样我可以让它做一些有意义的任务吗?
pPanel = new Ext.Panel({
applyTo: 'newProgWin',
autoScroll:true,
styleClass: 'formInput',
bodyStyle: 'overflow-x: hidden',
align: 'center',
layout:'fit',
width:899,
height:450,
closeAction:'hide',
plain: true,
items: winDataView = new Ext.DataView({
tpl: resultTpl,
store: npDs,
itemSelector: 'div.search-item'
}),
tbar: [
'Search: ', ' ',
(winSearchField = new Ext.ux.form.SearchField({
store: npDs,
width:300
}))
],
bbar: new Ext.PagingToolbar({
beforeLoad : function()
{
pocProxy.extraParams = {
eps: currentProgs,
stateful: true,
dataCall: dataCallId,
orgNameConvention: currentOnc,
installation: currentInstallation
};
},
store: npDs,
pageSize: pageSize,
displayInfo: true, …Run Code Online (Sandbox Code Playgroud)