Skip to content
Child component of Table

API reference

Properties

PropertyAttributeDescriptionTypeDefault
alignmentalignmentSpecifies the alignment of the component.Alignment"start"
colSpancol-spanSpecifies the number of columns the component should span.number
descriptiondescriptionSpecifies a description for the component. Displays below the heading.string
headingheadingSpecifies the component's heading text. Displays above the description.string
messageOverridesOverrides individual strings used by the component.Record<string, unknown> | undefined
rowSpanrow-spanSpecifies the number of rows the component should span.number

Styles

NameDescription
--calcite-table-header-background
deprecated Use the --calcite-table-header-background-color property instead. Specifies the component's background color.
--calcite-table-header-background-colorSpecifies the component's background color.
--calcite-table-header-border-colorSpecifies the component's border color.
--calcite-table-header-heading-text-colorSpecifies the component's heading text color.
--calcite-table-header-description-text-colorSpecifies the component's description text color.

Methods

NameDescriptionSignature
componentOnReadyCreate a promise that resolves once 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.