w:tblGrid (Table Grid)

Defines the column structure of the table by specifying the width of each column slot.

Parent elements

Child elements

Description

w:tblGrid defines the column grid of a table, specifying the width of each logical column. It is defined in ECMA-376 Part 1 §17.4.49.

Each w:gridCol child represents one column and its width in twips. The grid is the canonical column model; cell spanning (w:gridSpan) and merging (w:vMerge) are expressed relative to this grid. The sum of all w:gridCol widths should equal the table’s total width.

Attributes

Attribute Type Possible Values Description
(none) All column definitions are carried by w:gridCol child elements.

Examples

<!-- Three-column table, widths in twips -->
<w:tblGrid>
  <w:gridCol w:w="3213"/>
  <w:gridCol w:w="3213"/>
  <w:gridCol w:w="3212"/>
</w:tblGrid>