Child component of Table

API reference

Properties

PropertyAttributeDescriptionTypeDefault
alignmentalignment

Specifies the horizontal alignment of content within the component, where: "start" positions content at the start of the component, "center" positions content in the middle of the component, and "end" positions content at the end of the component.

Alignment"start"
colSpancol-span

Specifies the number of columns the component should span.

number
messageOverrides

Overrides individual strings used by the component.

Record<string, unknown> | undefined
rowSpanrow-span

Specifies 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 in v3.3.0, removal target v6.0.0 - Use --calcite-table-cell-background-color instead. Specifies the component's background color.
--calcite-table-cell-background-color

Specifies the component's background color.

--calcite-table-cell-border-color

Specifies the component's border color.

--calcite-table-cell-text-color

Specifies the component's text color.

Methods

NameDescriptionSignature
componentOnReady

Creates a promise that resolves once the component is fully loaded.

componentOnReady(): Promise<this>
setFocus

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