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;
}
You can also use my datagrid2 UI module, that does the work for you. https://marketplace.mendix.com/link/component/212219