Data grid alignment

2
Is it possible to align a cell in a data grid the same as a data grid. I mean that when the text doesn't fit in the cell, that the text is shown in sentences.
asked
2 answers
4

Marco,

I think that you mean is it possible to word wrap like in excel. It migth be possible with styling in the CSS although I haven't tried it. Using the following style tags works for html tables cross browsers: white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 / white-space: -pre-wrap; / Opera 4-6 / white-space: -o-pre-wrap; / Opera 7 / white-space: pre-wrap; / css-3 / word-wrap: break-word; / Internet Explorer 5.5+ */ This will breakup sentences at the white space. Maybe give this a try in the CSS.

answered
0

Marco, can you confirm if this works? I'm also interested!

answered