내 extjs6 그리드에서 공간에 맞지 않는 열 머리글이 있습니다. 열 머리글에서만 단어 줄 바꿈을 수행하려면 어떻게해야합니까? 이것은 내가 시도한 것이며 작동하지 않습니다.extjs 그리드 열 머리글 단어 감싸기가 작동하지 않습니다
xtype: 'grid',
title: 'Daily Performance',
itemId: 'performanceAccountDailyGridID',
bind: {
store: '{myDailyPerformanceAccountStore}'
},
margin: '10px 0px 10px 0px',
ui: 'featuredpanel-framed',
cls: 'custom-gridPerformance',
height: 400,
width: 800,
columns: [
{
header: 'Filedate',
dataIndex: 'filedate',
flex: 1
},
.custom-gridPerformance .x-column-header-inner .x-column-header-text {
white-space: normal;
}
'X-열 헤더 {', 아무것도 일치하지 않을 것 .custom-gridPerformance 오타이다? –
오타가 아닙니다. 헤더를 편집하는 데 사용할 올바른 형식이 확실하지 않습니다. 그것은 무엇이어야 하는가? – solarissf
'x-column-header' 접두사가'.' 접두어가 아니기 때문에 클래스 이름과 일치하지 않습니다. 태그 이름이' '인 태그와 일치 시키려고합니다. –