Skip to main content

TableCellNode

Table cells are elements within a TableNode.

Table cell properties

type: 'TABLE_CELL' [readonly]

The type of this node, represented by the string literal "TABLE_CELL"


text: TextSublayerNode [readonly]

Text sublayer of the TableCellNode


rowIndex: number [readonly]

The row index of this cell relative to its parent table.


columnIndex: number [readonly]

The column index of this cell relative to its parent table.


Basic properties

toString(): string

Returns a string representation of the node. For debugging purposes only, do not rely on the exact output of this string in production code.

View more →

parent: (BaseNode & ChildrenMixin) | null [readonly]

Returns the parent of this node, if any. This property is not meant to be directly edited. To reparent, see appendChild.

View more →

height: number [readonly]

The height of the node. Use a resizing method to change this value.


width: number [readonly]

The width of the node. Use a resizing method to change this value.


fills: ReadonlyArray<Paint> | figma.mixed

The paints used to fill the area of the shape. For help on how to change this value, see Editing Properties.

View more →

fillStyleId: string | figma.mixed

The id of the PaintStyle object that the fills property of this node is linked to.

View more →