[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

tblGrid (Table Grid)

This element specifies the table grid for the current table. The table grid is a definition of the set of grid columns which define all of the shared vertical edges of the table, as well as default widths for each of these grid columns. These grid column widths are then used to determine the size of the table based on the table layout algorithm used (§2.4.492.4.50).

If the table grid is omitted, then a new grid shall be constructed from the actual contents of the table assuming that all grid columns have a width of 0.

[Example: Consider the following table with four vertical edges (grid columns):

 

 

 

 

 

 

 

 

 

 

This table would have a table grid consisting of four grid columns as follows:

<w:tblGrid>
<w:gridCol w:w="2088"/>
<w:gridCol w:w="1104"/>
<w:gridCol w:w="3192"/>
<w:gridCol w:w="3192"/>
</w:tblGrid>

The tblGrid element contains the current definition for the table grid, consisting of all for grid columns as well as default widths for those columns. end example]

Parent Elements

tbl2.4.36)

 

Child Elements

Subclause

gridCol (Grid Column Definition)

§2.4.12

tblGridChange (Revision Information for Table Grid Column Definitions)

§2.13.5.35

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_TblGrid">

   <complexContent>

   <extension base="CT_TblGridBase">

   <sequence>

   <element name="tblGridChange" type="CT_TblGridChange" minOccurs="0"/>

   </sequence>

   </extension>

   </complexContent>

</complexType>