Skip to main content

TableInstance

Table instance representation for Table.

Properties​

customActions?​

optional customActions: TableCustomAction[]

Custom actions applied to the table


optional disableCellNavigationLinks: boolean

Whether cell URL navigation links should be disabled/removed from the table. When true, URL navigation links are removed from cells (useful for dialogs).


editMode?​

optional editMode: ResourceEditMode

Edit mode for resources in the table. Values: resourceEditMode.default (0) uses full View component, resourceEditMode.simple (1) uses compact EditResource component.


excludeProperties?​

optional excludeProperties: string[]

Array of property names that should be excluded from the table display.


getColumnPossibleValues​

getColumnPossibleValues: Func<string, undefined | Map<unknown, unknown>>

Function that takes a property name and returns a Map where keys are indices of enum values and values are the actual enum values. Only applicable to enum properties.


hideDeleteButton?​

optional hideDeleteButton: boolean

Whether to hide the delete button in the table actions


id?​

optional id: string

Unique identifier for the table instance


internalTableColumns​

internalTableColumns: InternalTableColumn[]

Array of column definitions


maxNumberOfColumns?​

optional maxNumberOfColumns: number

Maximum number of columns to display in the table


multiSelect?​

optional multiSelect: boolean

Whether to enable multi-selection of rows


onRowClicked()?​

optional onRowClicked: (v) => void

Event handler called when a row is clicked

Parameters​

v​

WithId

Returns​

void


tableRows​

tableRows: TableRow<WithId>[]

Array of rows to display in the table


uiResourceMeta?​

optional uiResourceMeta: UiResourceMeta

Metadata about the item being displayed