I use wrapText and autoHeight properties in Ag-Grid to move to a new line if the text does not fit into the cell. But the problem is that the Ag grid sometimes breaks words instead of moving it to a new line. I tried everything, wrote my own cell renders, tried different scripts, even tried to write my own template for the table. Nothing helped.
<AgGridColumn
headerName={"reason"}
field="reason"
maxWidth={400}
minWidth={200}
wrapText={true}
autoHeight={true}
/>
Maybe someone knows what can be done to make a new line without breaking words?