Question
How are cell widths set in WordML? I tried the w:w attribute of the w:tcW tag, but it has no effect. I want to set cell widths independantly of the column. I also want a different number of cells on each row.
Solution
I think you need to use <w:tblGrid>
if you want to set the cell width irrespective of the column width check this
OTHER TIPS
The tcW
element has one more optional attribute: w:type
, that determines the measure of the width. The default seems to be auto
. Try to set it to another measure, such as dxa
,in
, or pct
.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow