Skip to main content

Table Cell

A cell within a `Table`.

This schema type is marked as unstable ⚠️ and is subject to change.

Properties#

Name@idTypeDescriptionInherited from
cellTypestencila:cellType'Data', 'Header'Indicates whether the cell is a header or data. See note 1.TableCell
colspanstencila:colspanintegerHow many columns the cell extends. See note 2.TableCell
contentstencila:contentArray of BlockContent or Array of InlineContentContents of the table cell.TableCell
idschema:idstringThe identifier for this item.Entity
metastencila:metaobjectMetadata associated with this item.Entity
nameschema:namestringThe name of the cell. See note 3.TableCell
rowspanstencila:rowspanintegerHow many columns the cell extends. See note 4.TableCell

Notes#

  1. cellType : !array('When ')header!array(', the cell is similar to the HTML ')<th>!array(' element')!array('). When ')data!array(', the cell is similar to the HTML ')<td>!array(' element')!array(').')
  2. colspan : !array('Based on the HTML ')colspan!array(' attribute for ')!array('table cells')!array('.')
  3. name : !array("Cell's have an implicit name derived from their position in the table e.g. ")C4!array(' for the cell in the third column and fourth row. However this name can be overridden with an explicit name, e.g. ')rate!array('.')
  4. rowspan : !array('Based on the HTML ')rowspan!array(' attribute for ')!array('table cells')!array('.')

Related#

  • Parent: Entity
  • Descendants: None

Available as#

Source#

This documentation was generated from TableCell.schema.yaml.