API reference
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
alignment | alignment | Specifies the alignment of the component. | "center" | "end" | "start" | "start" |
colSpan | col-span | Specifies the number of columns the component should span. | number | |
description | description | A description to display beneath heading content. | string | |
heading | heading | A heading to display above description content. | string | |
messageOverrides | Use this property to override individual strings used by the component. | Record<string, unknown> | ||
rowSpan | row-span | Specifies the number of rows the component should span. | number |
Styles
Name | Description |
---|---|
--calcite-table-header-background | --calcite-table-header-background-color property 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
Name | Description | Signature |
---|---|---|
componentOnReady | Create a promise that resolves once component is fully loaded. | componentOnReady(): Promise<void> |
setFocus | Sets focus on the component. | setFocus(options?: FocusOptions): Promise<void> |