schema

TableCell

A cell within a `Table`.

Properties

Name @id Type Description Inherited from
content stencila:content Array of Node Contents of the table cell. TableCell
cellType stencila:cellType ‘data’, ‘header’ Indicates whether the cell is a header or data. See note 4. TableCell
colspan stencila:colspan integer How many columns the cell extends. See note 2. TableCell
id schema:id string The identifier for this item. Entity
meta stencila:meta object Metadata associated with this item. Entity
name schema:name string The name of the cell. See note 1. TableCell
rowspan stencila:rowspan integer How many columns the cell extends. See note 3. TableCell

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).

Available as

Source

This documentation was generated from TableCell.schema.yaml.