Skip to content

Type Editor


Type Editor / @type-editor/tables / types/CellAttrs / CellAttrs

Interface: CellAttrs

Defined in: tables/src/types/CellAttrs.ts:6

Represents the attributes of a table cell node.

These attributes control cell spanning behavior and column widths.

Properties

PropertyTypeDescriptionDefined in
colspannumberNumber of columns this cell spans. Default is 1.tables/src/types/CellAttrs.ts:8
colwidthnumber[]Array of column widths in pixels, or null if not set.tables/src/types/CellAttrs.ts:12
rowspannumberNumber of rows this cell spans. Default is 1.tables/src/types/CellAttrs.ts:10