Wiki
Clone wikiadf-builder-java / node-tableHeader
Node: tableHeader
Description
A header cell within a tableRow, which acts as a container for the information within the table.
A tableHeader
behaves identically to a tableCell in every respect, but is visually
marked (generally with a different background color and/or font weight) to distinguish it from an
ordinary table cell.
Example
See table.
Compatibility
Products
Confluence | Jira |
---|---|
✅ | ✅ |
Usage
Marks
❌ N/A
Structure
- type -
tableHeader
- attrs?
- content - array(TableCellContent...) (at least 1)
-
If
colwidth
is specified, then it must have exactly the same number of entries as thecolspan
. If nocolspan
is specified, then it is taken to be1
. The value0
is permitted to indicate that a column width is flexible, but at least one of the values in the array must be positive. For example, ifcolspan
is3
, thencolwidth
could be[120, 0, 120]
to indicate that the first and last columns are 120 pixels wide and the middle column should automatically resize to fit its content. ↩ -
The recommended values for the background color are a short hex (
#333
), long hex (#E6FCFF
), or HTML color name. However, this is not enforced, and in practice other values may be encountered in this field, especially if the table content was pasted into the editor from an external source. This includes the CSSrgb(...)
function syntax and other such values, so this library does not validate this value. ↩
Updated