Linebreak to visualize full attribute

0
Dear Mendix Community, I’ve added a data grid and configured the percentage of each column. However the attribute-name as well as the attribute are to long to be displayed within the column. Do you have any suggestions on how to resolve the problem? My idea would be a linebreak, so that the text continues in a next line, is something like that possible? Thank you a lot and kind regards, Adam
asked
2 answers
0

Hi Adam,

You can use a CSS class which defines a word-wrap or word-break to achieve this

answered
0

Hi Adam,

This can be done with some custom css. You can add a class to your datagrid and then add something like the following to your scss:

.yourCustomClass .mx-datagrid-head-caption {

word-break: break-all;

}

Hope this helps!

answered