#5785 (React grid view doesn't wrap content of RichTextField)
by Luc Saffre · in Developers · assigned to Luc Saffre
Summary
Children
Comments
- 1 year, 11 months ago by Luc Saffre about #5785 (React grid view doesn't wrap content of RichTextField) : Wow, I found the solution quite quickly: GridElement.set_cols() said:
let style = {verticalAlign: 'baseline'}
and now it says:
let style = {verticalAlign: 'baseline', whiteSpace: 'wrap'}
Of course it's possible that this change has unexpected side effects. We will see. - 1 year, 11 months ago by Luc Saffre about #5785 (React grid view doesn't wrap content of RichTextField) : Using the inspector I see that it is caused by a white-space: nowrap style, which has been set by [url primereact.org/datatable/ PrimeReact datatable]:
/* Resizable */ .p-datatable-resizable-table > .p-datatable-thead > tr > th, .p-datatable-resizable-table > .p-datatable-tfoot > tr > td, ... - 1 year, 11 months ago by Luc Saffre about #5785 (React grid view doesn't wrap content of RichTextField) : Created new Ticket #5785 (React grid view doesn't wrap content of RichTextField).