Skip to Content
Md2Docx logo Md2Docx

ICellProps

Updated 10 Nov 2026

Defined in: packages/table/src/index.ts:60

Extends

Properties

borders?

readonly optional borders?: ITableCellBorders

Defined in: node_modules/.pnpm/docx@9.15.3/node_modules/docx/dist/index.d.ts:8121

Border settings for the cell edges

Inherited from

CellProps.borders

cellMerge?

readonly optional cellMerge?: ICellMergeAttributes

Defined in: node_modules/.pnpm/docx@9.15.3/node_modules/docx/dist/index.d.ts:8124

Inherited from

CellProps.cellMerge

columnSpan?

readonly optional columnSpan?: number

Defined in: node_modules/.pnpm/docx@9.15.3/node_modules/docx/dist/index.d.ts:8117

Number of columns this cell spans (horizontal merge)

Inherited from

CellProps.columnSpan

data?

optional data?: Omit<Mutable<IParagraphOptions>, "children"> & object & Mutable<Omit<IRunOptions, "children">> & object

Defined in: packages/table/src/index.ts:67

Content and styling options for the cell.

Combines mutable paragraph and run options, and optionally supports alignment.

Type Declaration

checked?

optional checked?: boolean | null

pre?

optional pre?: boolean

pre?

optional pre?: boolean

deletion?

readonly optional deletion?: IChangedAttributesProperties

Defined in: node_modules/.pnpm/docx@9.15.3/node_modules/docx/dist/index.d.ts:8123

Inherited from

CellProps.deletion

includeIfEmpty?

readonly optional includeIfEmpty?: boolean

Defined in: node_modules/.pnpm/docx@9.15.3/node_modules/docx/dist/index.d.ts:8100

Inherited from

CellProps.includeIfEmpty

insertion?

readonly optional insertion?: IChangedAttributesProperties

Defined in: node_modules/.pnpm/docx@9.15.3/node_modules/docx/dist/index.d.ts:8122

Inherited from

CellProps.insertion

margins?

readonly optional margins?: ITableCellMarginOptions

Defined in: node_modules/.pnpm/docx@9.15.3/node_modules/docx/dist/index.d.ts:8107

Cell margins (padding) for the cell content

Inherited from

CellProps.margins

revision?

readonly optional revision?: ITableCellPropertiesChangeOptions

Defined in: node_modules/.pnpm/docx@9.15.3/node_modules/docx/dist/index.d.ts:8099

Inherited from

CellProps.revision

rowSpan?

readonly optional rowSpan?: number

Defined in: node_modules/.pnpm/docx@9.15.3/node_modules/docx/dist/index.d.ts:8119

Number of rows this cell spans (vertical merge)

Inherited from

CellProps.rowSpan

shading?

readonly optional shading?: IShadingAttributesProperties

Defined in: node_modules/.pnpm/docx@9.15.3/node_modules/docx/dist/index.d.ts:8105

Shading (background color/pattern) for the cell

Inherited from

CellProps.shading

textDirection?

readonly optional textDirection?: "btLr" | "lrTb" | "tbRl"

Defined in: node_modules/.pnpm/docx@9.15.3/node_modules/docx/dist/index.d.ts:8111

Text direction/flow within the cell

Inherited from

CellProps.textDirection

verticalAlign?

readonly optional verticalAlign?: TableVerticalAlign

Defined in: node_modules/.pnpm/docx@9.15.3/node_modules/docx/dist/index.d.ts:8109

Vertical alignment of content within the cell

Inherited from

CellProps.verticalAlign

verticalMerge?

readonly optional verticalMerge?: "continue" | "restart"

Defined in: node_modules/.pnpm/docx@9.15.3/node_modules/docx/dist/index.d.ts:8113

Vertical merge setting for the cell

Inherited from

CellProps.verticalMerge

width?

readonly optional width?: ITableWidthProperties

Defined in: node_modules/.pnpm/docx@9.15.3/node_modules/docx/dist/index.d.ts:8115

Width specification for the cell

Inherited from

CellProps.width

On this page