Black Lives Matter. Please consider donating to Black Girls Code today.

Datatable auto cell resize based on content

Hi, is there a way to make the datatable cell be resized according to its content?

image

The cell above contains a text which length exceeds the cell. I’d like the cell height to auto adapt to the text and the text to auto breaklines in order to fit the cell. Is this possible?

What I am doing right now is to allow editing, so the user can select the cell value and read it entirely. But ideally, I would make the datatable not editable.