Is there a way to wrap column headers in Datagrid2

0
In Datagrid2, if my column header is Column Header I would like it to display as Column Header   Has anyone done this before?
asked
2 answers
2

Hi Mike 

Add a new class name in Datagrid 2 and add the below CSS code in your scss file. 

I have added the below CSS code in custom.scss file . It worked very well

.{yournewclassname} .table .th .column-header span {   

color: #17347b !important;   

font-size: 14px;   

font-weight: 700;   

font-family: "OPEN SANS";   

text-wrap: wrap !important;

}

answered
0

You can also use my datagrid2 UI module, that does the work for you. https://marketplace.mendix.com/link/component/212219

answered