Skip to main content

InternalTableColumn

Internal representation of a table column in the Table component. Contains all configuration and metadata needed to render and interact with a column.

Properties​

actionPosition?​

optional actionPosition: TableCustomActionPosition

Position of action column in the table (default or last column)


actionType?​

optional actionType: TableCustomActionType

Type of action for action columns


cellTemplate()?​

optional cellTemplate: (props) => null | Element

Custom template function to render cell content

Parameters​

props​

TableCellTemplateProps

Returns​

null | Element


displayName​

displayName: string

Human-readable name shown in the column header, value comes from PropertyMeta.displayName


expandInfo?​

optional expandInfo: ExpandInfo

Configuration for expandable rows, values comes from PropertyMeta.relation


index​

index: number

Position index of this column in the table


isActiveSort?​

optional isActiveSort: boolean

Whether this column is the current sort column


isDateAsTimeAgo?​

optional isDateAsTimeAgo: boolean

Whether date values should be displayed as relative time (e.g., "2 days ago")


itemPropertyName?​

optional itemPropertyName: string

Name of the property in the data item that this column displays, value comes from UiPropertyMeta.name


name​

name: string

Unique identifier for the column, value comes from UiPropertyMeta.name


priority?​

optional priority: number

Priority value for this column (used for column ordering)


propertyMeta?​

optional propertyMeta: PropertyMeta

Metadata about the property being displayed


propertyTypeFormat?​

optional propertyTypeFormat: string

Type format for Ui rendering and validation

See​

PropertyMeta.typeFormat


sortDirection?​

optional sortDirection: TableSortDirection

Direction of sorting for this column when it is the active sort column


type​

type: InternalTableColumnType

Type of column, determines its rendering and behavior


uiPropertyMeta?​

optional uiPropertyMeta: UiPropertyMeta

Ui-specific metadata for the property being displayed


width​

width: number

Width of the column as a percentage