Skip to main content

TableCell

A cell within a `Table`.

Properties#

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

Related#

  • Parent: Entity
  • Descendants: None

Notes#

  1. 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.
  2. colspan : Based on the HTML colspan attribute for table cells.
  3. rowspan : Based on the HTML rowspan attribute for table cells.
  4. cellType : When header, the cell is similar to the HTML <th> element). When data, the cell is similar to the HTML <td> element).
  5. Available as JSON-LD.
  6. Available as JSON Schema.
  7. This documentation was generated from TableCell.schema.yaml.