Skip to content

Table Cell

Child component of Table

API reference

Properties

PropertyAttributeDescriptionTypeDefault
alignmentalignmentSpecifies the alignment of the component."center" | "end" | "start""start"
colSpancol-spanSpecifies the number of columns the component should span.number
messageOverridesUse this property to override individual strings used by the component.{ keyboardDeselect?: string; keyboardSelect?: string; row?: string; selected?: string; unselected?: string; }
rowSpanrow-spanSpecifies the number of rows the component should span.number

Slots

NameDescription
default (unnamed)A slot for adding content, usually text content.

Styles

NameDescription
--calcite-table-cell-backgroundSpecifies the background color of the component.

Methods

NameDescriptionSignature
componentOnReadyCreate a promise that resolves once component is fully loaded.componentOnReady(): Promise<void>
setFocusSets focus on the component.setFocus(): Promise<void>

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