새로 고침 단추에 대한 사용자 지정 설치가 없으므로이를 숨기거나 제거하려고합니다. hideRefresh: true
이 작동하지 않았습니다. 숨길 수있는 방법이없는 경우 버튼을 클릭하면ExtJs Ext.PagingToolbar : 새로 고침 버튼 onclick의 매개 변수를 숨기거나 설정 하시겠습니까?
, 나는 적어도 일부 매개 변수를 전달할 수 있습니다, 그래서 그것을 몇 가지 의미있는 작업을 수행 할 수 있습니까?
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,
//hideRefresh: true,
displayMsg: 'Organizations {0} - {1} of {2}',
emptyMsg: "No Organizations available to display"
})
});
안녕하세요, CincauHangus. 실제로 내가 시도하고 숨기기 메서드,하지만 어떻게 든 pPanel.bbar.refresh 아무것도 반환하지 않습니다. 청취자와 함께 숨기기 위해 나를 위해 작동합니다. 덕분에 도움을 많이 :) – JoJoAngel
다행스럽게 도와 줬어. 귀하의 질문에 만족하는 경우 내 대답을 해결책으로 표시하십시오. 감사 – CincauHangus