Skip to content

API reference / Common / Engine types / TableColumn

Interface: TableColumn ​

One grid column (a:gridCol / w:gridCol): its identity and its declared width in points.

The a:tblGrid / w:tblGrid element that wraps these carries nothing else, so it flattens away and Table::columns holds them directly.

The width is what the file declares, which a table may contradict with its own w:tblW or its frame's extent. The model records both and resolves neither; picking a winner and distributing the difference is the layout's auto-fit question.

Properties ​

PropertyDescription
id
string
Stable model id — one half of a cell's address.
width
number
@w — the declared width in points (EMU in pptx, twips in docx).