##### 35.2.1.2 Using header cells to define column groups

DITA2Go refers to a column-header cell with a group attribute as a ColGroup cell. To make a header cell a ColGroup cell, include in it one of the following:

- a paragraph that is in a format you have designated [HTMLParaStyles] ColGroup (see §35.2.2 Using paragraph formats for table-cell attributes)
- a CellGroup PI marker that you have given content col (see §35.2.4 Assigning table-cell attribute values with PI markers).

When you designate a header cell as a ColGroup cell, the effect of that property depends on which method you specify for table columns:

- scope automatically specifies the following:
  - [Tables]ColGroupElements=Yes (ColGroup cell starts a new <colgroup> element)
  - scope="colgroup" in the ColGroup cell (ColGroup cell affects all other cells subsumed by its <colgroup>)
- id/headers automatically specifies the following:
  - [Tables]ColGroupIDs=Yes (ColGroup cell gets id="groupN", dependent cells get headers="groupN")

See §36.5.1 Understanding how the ColGroup property works for more information.

Previous Topic: 35.2.1.1 Defining blocks of header cells

Next Topic: 35.2.1.3 Using header cells to define row groups

Parent Topic: 35.2.1 Specifying group properties for header cells

Sibling Topics:

35.2.1.1 Defining blocks of header cells

35.2.1.3 Using header cells to define row groups