을 제거하 headertoolbar 의 GridPanel 에 Extjs
-
14-11-2019 - |
문제
나 GridPanel
에 Extjs
을 전하고 싶을 제거하거나 숨기기 헤더는 도구 모음이 있습니다.(도구 모음에는 제목 검색창에서).가 Gridpanels
첫째 요소를 열었습니다..어떻게 할 수 있습니다?
해결책
을 찾을 수 없는 경우 적합한 구성 옵션,전화 gridPanel.getTopToolbar().hide()
나중해야 합니다.
다른 팁
hideHeaders 시설의 Ext.니다.GridPanel 습니다.
var grid = new.Ext.grid.GridPanel({
store: store,
hideHeaders: true,
width: 200,
height: 100,
}
당신은 시도 설정 헤더 구성 옵션을 false 로?아래 참조를 들어:
var grid = new Ext.grid.GridPanel({
store: store,
cm: cm,
header: false,
renderTo: 'mygrid',
width: 600,
height: 300
});
제휴하지 않습니다 StackOverflow