##### 33.3.2.6 Overriding row and column group settings

You can override the default value of HeadFootBodyTags or ColGroupElements for table groups:

[TableAccess]
; table ID = method list (overrides default in [Tables])
; Can override HeadFootBodyTags with HFBTags, ColGroupElements with
; CGElems.

You can prefix either setting with No to turn that setting off for selected tables. For example:

[TableAccess]
aa123456=NoHFBTags
ac254360=HFBTags
Group5=HFBTags NoCGElems
FormatA=CGElems

You can turn these settings off if you are creating your own groups (especially for ColGroupElements, essential if you want to add class attributes). If you turn off a setting that is required by other settings, the presumption is that you are supplying the attributes yourself another way, such as via macros or JavaScript.

For example, suppose you have specified ColGroupElements=Yes, but you want to “roll your own” column groups for table aa123456, and include CSS class attributes:

[TableStartMacros]
; table ID = text of macro to put after <table> tag before first <tr>
; This is where a set of custom <colgroup> elements would go.
aa123456=
<colgroup>
<col class="FirstCol"></col>
<col class="SecondCol"></col>
</colgroup>
<colgroup span="5" class="DataSet">
<col class="DataFirstCol"></col>
<col class="DataSecondCol"></col>
<!-- three missing col tags get class DataSet -->
</colgroup>

You would also specify the following:

[TableAccess]
aa123456=NoCGElems

Previous Topic: 33.3.2.5 Positioning table footer rows (deprecated)

Next Topic: 33.3.3 Identifying table headers and footers

Parent Topic: 33.3.2 Identifying row and column groups and header cells

Sibling Topics:

33.3.2.1 Using browser-dependent HTML tags for tables

33.3.2.2 Designating table header cells

33.3.2.3 Enumerating table column groups

33.3.2.4 Wrapping table row groups

33.3.2.5 Positioning table footer rows (deprecated)

Table of Contents • Index