Line-Break/Text-Break for DataGrid2 header?

Hi experts,  I would like to create several lines on Datagrid2 header. Does anybody have idea?   It might be quite similar with the question Patrick asked last year. unfortunately text-break css did not work on datagrid2.. datagrid2 property “appearance”
1 answers

You will need to target the class column-container in your css. 

  1. Put the class datagrid-wrapheader on your datagrid2
  2. Add something like the following to your css:


.datagrid-wrapheader {
             white-space: normal;

This will lead to all your headers wrapping at white spaces: