#### 36.3.3 Grouping header cells for identification

Use the following settings to specify whether header cells should be grouped. These settings work in concert with ColGroup and RowGroup cells: header cells that are assigned [HTMLParaStyles] property ColGroup or RowGroup, described in §35.2.2 Using paragraph formats for table-cell attributes; or that contain PI marker type CellGroup, described in §35.2.4 Assigning table-cell attribute values with PI markers.

    [Tables]
    ; ColGroupHead is "group" by default; it is used in the id attrs of
    ; header cells containing a para format with [HTMLParaStyles]ColGroup.
    ColGroupHead=group
    ; RowGroupHead is "group" by default; it is used in the id attrs of
    ; left cells containing a para format with [HTMLParaStyles]RowGroup.
    ;  If ColGroup is used, first ID numerically follows last ColGroup ID.
    RowGroupHead=group
    ; ColGroupIDs = No (default)
    ;  or Yes (to use id="groupN" in col head cells identified
    ;  as ColGroup via [HTMLParaStyles] or the CellGroup marker col.)
    ColGroupIDs=No
    ; RowGroupIDs = No (default)
    ;  or Yes (to use id="groupN" in row head cells identified
    ;  as RowGroup via [HTMLParaStyles] or the CellGroup marker row.)
    RowGroupIDs=No

Column-group and row-group identifiers

The values you specify for ColGroupHead and RowGroupHead are the names DITA2Go uses for column-group and row-group identifiers. For example, if you specify ColGroupHead=gname, every ColGroup cell gets attribute id="gnameN". If you do not specify values for ColGroupHead and RowGroupHead, DITA2Go uses the default name, group, for both; and numbers the row groups starting where the column-group numbers end.

Column groups

When you specify ColGroupIDs=Yes, DITA2Go generates the following identifiers:

- id="groupN"
  - for each ColGroup cell (header cell that contains either a paragraph designated [HTMLParaStyles] ColGroup, or a CellGroup PI marker with content col).

  headers="groupN"

- for each cell to the right of the id="groupN" cell until the next ColGroup cell;
- for each cell below the id="groupN" cell;
- for each cell below the headers="groupN" cells that are in the id=groupn row.

Specifying ColGroupIDs=Yes prevents assignment of a single-column ID to the id="groupN" cell, but does not prevent this assignment to the headers=groupN cells to the right of the id="groupN" cell. See §36.3.8 Identifying individual table cells by row and column for information about specifying IDs for individual columns. See also §36.5.1 Understanding how the ColGroup property works.

Row groups

When you specify RowGroupIDs=Yes, DITA2Go generates the following identifiers:

- id="groupN"
  - for each RowGroup cell (header cell that contains either a paragraph designated [HTMLParaStyles] RowGroup, or a CellGroup PI marker with content row) and that does not have a column ID.

  headers="groupN"

- for each cell below the id="groupN" cell until the next RowGroup cell;
- for each cell to the right of the id="groupN" cell;
- for each cell to the right of the headers="groupN" cells that are in the id="groupN" column.

Specifying RowGroupIDs=Yes prevents assignment of a row ID to the RowGroup cell, but does not prevent this assignment to the headers="groupN" cells below the id="groupN" cell. See §36.3.8 Identifying individual table cells by row and column for information about specifying IDs for individual rows. See also §36.5.2 Understanding how the RowGroup property works.

Previous Topic: 36.3.2 Specifying id/headers attributes for table cells

Next Topic: 36.3.4 Column-group and row-group extent

Parent Topic: 36.3 Using the id/headers method to identify table cells

Sibling Topics:

36.3.1 Choosing an id/headers level

36.3.2 Specifying id/headers attributes for table cells

36.3.4 Column-group and row-group extent

36.3.5 Choosing a different row-group method

36.3.6 Using span attributes to identify rows and columns

36.3.7 Column-span and row-span extent

36.3.8 Identifying individual table cells by row and column

36.3.9 Column and row extent

36.3.10 Using span IDs with row or column IDs

Table of Contents • Index