Wrap text in data grid 2

0
Hi, I’d like to display texts in a data grid 2 which is based on “custom content”.  The text is always displayed in a single line but I want the text to be broken in multiple lines such users see the entire text without having to adjust the width of the columns.    What I tried without success: -) Wrap options: wrap  -) Css: word-wrap: break-word, white-space:normal (based on https://community.mendix.com/link/questions/91992 and https://community.mendix.com/link/questions/102910)    What to do?   Thanks!
asked
2 answers
7

Hi Erwin,

Add the class to your stylesheet.

.table .td > .td-text, .table .td * {

  1. white-space: normal !important;
  2. word-break: break-all !important;

}

If your application migrated from mendix 8 versions then you have to run calypso

answered
0

Hi Erwin

After selecting ‘wrap’, can you try to clean your deployment package? Something like this: Mendix Forum - Questions

Thank you!

Kind regards,

Leander

answered