Child component of Table

API reference

Properties

PropertyAttributeDescriptionTypeDefault
alignmentalignmentSpecifies 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-spanSpecifies the number of columns the component should span.number
messageOverridesOverrides individual strings used by the component.Record<string, unknown> | undefined
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 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-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
componentOnReadyCreates a promise that resolves once the component is fully loaded.componentOnReady(): Promise<this>
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.