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 : When header, the cell is similar to the HTML <th> element). When data, the cell is similar to the HTML <td> element).
  2. colspan : Based on the HTML colspan attribute for table cells.
  3. name : Cell's have an implicit name derived from their position in the table e.g. C4 for the cell in the third column and fourth row. However this name can be overridden with an explicit name, e.g. rate.
  4. rowspan : Based on the HTML rowspan attribute for table cells.
  • Parent: Entity
  • Descendants: None

Available as

Source

This documentation was generated from TableCell.schema.yaml.