nhn / tui.grid

🍞🔡 The Powerful Component to Display and Edit Data. Experience the Ultimate Data Transformer!
http://ui.toast.com/tui-grid/
MIT License
2.42k stars 389 forks source link

grid header 라인피드(LF) 줄 바꿈(multiple lines) 하는방법 ? #1654

Open sdkronic opened 2 years ago

sdkronic commented 2 years ago

https://github.com/nhn/tui.grid 위 URL의 첫번째 TOAST UI Grid 스크린샷 보면 Grid Header 가 두줄로 표시되어 있는데 ex) Type (editable: normal)

Complex columns 방식이 아닌 위의 형식으로 헤더 표시 내용에서 라인피드(LF) 줄 바꿈 하려면 어떻게 해야 하나요?

현재는 Type(editable: normal) 이런식으로만 표시가 됩니다.

jajugoguma commented 2 years ago

@sdkronic Please make sure you have filled out issue respecting our form in English and given us as much context as possible. If not, the issue will be closed or not replied.

Currently, line breaks in headers are not possible. I'll fix it to make it possible again.

janePark75 commented 1 year ago

사용할 수 있나요? 사용방법이 있나요?

singsinghe commented 11 months ago

우아... 고생해서 알아냈네요.

이 스타일을 넣으시구요. header에 값을 매입원가\r\n(VAT별도) 형태로 넣으시면 됩니다.