Child component of Table

API reference

Properties

PropertyAttributeDescriptionTypeDefault
alignmentalignmentSpecifies 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
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 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-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
componentOnReadyCreates 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.