Currently, tables exported to Word seem to default to a fixed layout. This often results in columns that don't fit the content well or tables that don't scale correctly across the page.
It would be great to have support for layout: 'autofit' or tableLayout: 'auto' to allow Word to automatically adjust column widths based on their content.
To reproduce:
Create export the following html:
<table style="table-layout: auto;"><tr><td>Cell</td></tr></table>
Exported docx always uses TableLayoutType.FIXED regardless of the HTML.
Currently, tables exported to Word seem to default to a fixed layout. This often results in columns that don't fit the content well or tables that don't scale correctly across the page.
It would be great to have support for
layout: 'autofit'ortableLayout: 'auto'to allow Word to automatically adjust column widths based on their content.To reproduce:
Create export the following html:
<table style="table-layout: auto;"><tr><td>Cell</td></tr></table>Exported docx always uses
TableLayoutType.FIXEDregardless of the HTML.