JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › How to force column headers to wrap › Reply To: How to force column headers to wrap
September 17, 2021 at 9:09 am
#102215
YavorDashev
Member
Hi aconley,
I have created a quick code snippet using CSS so that it will showcase/guide you to how to have this functionality.
CSS code snippet:
smart-grid-column[data-field='name'],
smart-grid-column[data-field='name'] .smart-label {
line-height: initial!important;
white-space: pre-line;
text-overflow: initial!important;
}
Let me know if that works for you!
Please, do not hesitate to contact us if you have any additional questions.
Best regards,
Yavor Dashev
Smart UI Team
https://www.htmlelements.com/