hi peter,
use the below code where you need to add the class data2 for the datagrid2
it will work.
.data2 .table .th .column-container{
white-space: normal !important;
overflow: visible !important;
width: the value you need ;
}