Child component of Table

API reference

Properties

PropertyAttributeDescriptionTypeDefault
alignmentalignment

Specifies the alignment of the component.

Alignment"start"
colSpancol-span

Specifies the number of columns the component should span.

number
descriptiondescription

Specifies a description for the component. Displays below the heading.

string
headingheading

Specifies the component's heading text. Displays above the description.

string
messageOverrides

Overrides individual strings used by the component.

Record<string, unknown> | undefined
rowSpanrow-span

Specifies the number of rows the component should span.

number

Styles

NameDescription
--calcite-table-header-background
deprecated in v3.3.0, removal target v6.0.0 - Use --calcite-table-header-background-color instead. Specifies the component's background color.
--calcite-table-header-background-color

Specifies the component's background color.

--calcite-table-header-border-color

Specifies the component's border color.

--calcite-table-header-heading-text-color

Specifies the component's heading text color.

--calcite-table-header-description-text-color

Specifies the component's description 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.