Child component of Table

API reference

Properties

PropertyAttributeDescriptionTypeDefault
alignmentalignment

Specifies the vertical alignment of content within child calcite-table-cells, where: "start" positions content at the top of a calcite-table-cell, "center" positions content in the middle of a calcite-table-cell, and "end" positions content at the bottom of a calcite-table-cell.

Alignment
disableddisabled

When true, interaction is prevented and the component is displayed with lower opacity.

booleanfalse
selectedselected

When true, the component is selected.

booleanfalse

Slots

NameDescription
default (unnamed)

A slot for adding calcite-table-cell or calcite-table-header elements.

Styles

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

Specifies the component's background color.

--calcite-table-row-background-color-striped

When striped is true on calcite-table, specifies the background color of the component's striped rows.

--calcite-table-row-background-color-selected

When selected, specifies the background color of the component's selected rows.

--calcite-table-row-accent-color-selected

Specifies the component's selected accent color.

--calcite-table-row-border-color

Specifies the component's border color.

Events

NameDescriptionBehavior
calciteTableRowSelect

Fires when the selected state of the component changes.

bubblescomposed

Methods

NameDescriptionSignature
componentOnReady

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

componentOnReady(): Promise<this>

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.