Skip to content
Child component of Table

API reference

Properties

PropertyAttributeDescriptionTypeDefault
alignmentalignmentSpecifies the alignment of the component.Alignment
disableddisabledWhen true, interaction is prevented and the component is displayed with lower opacity.booleanfalse
selectedselectedWhen 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 Use --calcite-table-row-background-color instead. Specifies the background color of the component.
--calcite-table-row-background-colorSpecifies the component's background color.
--calcite-table-row-background-color-stripedWhen striped is true on calcite-table, specifies the background color of the component's striped rows.
--calcite-table-row-background-color-selectedWhen selected, specifies the background color of the component's selected rows.
--calcite-table-row-accent-color-selectedSpecifies the component's selected accent color.
--calcite-table-row-border-colorSpecifies the component's border color.

Events

NameDescriptionBehavior
calciteTableRowSelectFires when the selected state of the component changes.bubblescomposed

Methods

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