Datatable cell toExcel word wrap/multiline issue

Hi,

I’m following up on my Disqus comment here → http://disq.us/p/2w036mi

I having trouble getting the excel output (using toExcel) to wordwrap the cell content as shown in the datatable cell. Is there a method or workaround I can use to make the long text cell word wrap in the excel output also?

I have created a code snippet to demonstate my issue. (as you can see the text in the cells ‘Details’ and ‘More Details’ of the datatable are fine but when exported toExcel they only show on 1 line even with the ‘heights: true’ option set). Thanks

https://snippet.webix.com/8594jbew

Good day @stefp76 ,
With ‘heights: true’ the rows only preserve their heights.
You could use the following solution: https://snippet.webix.com/w… .
Here we override the default $exportView method that is responsible for the final result of data export and add the needed styles (alignment.wrapText here) to the table’s rows and columns.