Skip to content

Table Cell

Child component of Table

API reference

Properties

PropertyAttributeDescriptionTypeDefault
alignmentalignmentSpecifies the alignment of the component."center" | "end" | "start""start"
colSpancol-spanSpecifies the number of columns the component should span.number
messageOverridesUse this property to override individual strings used by the component.Record<string, unknown>
rowSpanrow-spanSpecifies the number of rows the component should span.number

Slots

NameDescription
default (unnamed)A slot for adding content, usually text content.

Styles

NameDescription
--calcite-table-cell-background
deprecated Use --calcite-table-cell-background-color instead. Specifies the component's background color.
--calcite-table-cell-background-colorSpecifies the component's background color.
--calcite-table-cell-border-colorSpecifies the component's border color.
--calcite-table-cell-text-colorSpecifies the component's text color.

Methods

NameDescriptionSignature
componentOnReadyCreate a promise that resolves once component is fully loaded.componentOnReady(): Promise<void>
setFocusSets focus on the component.setFocus(options?: FocusOptions): Promise<void>

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.