Skip to content

Table Internals ​

These components are internal building blocks of ue-data-table. You do not use them directly — they are rendered automatically by the table.

TableFormatterCell ​

Renders a single cell in the data table, applying the correct formatter strategy based on col.formatter.

Formatter strategies ​

Formatter valueRender
'edit' / 'activate'Clickable primary-colour text. Clicking calls itemAction
'switch'v-switch that calls itemAction on change
'dynamic'Delegates to ue-dynamic-component-renderer
Any other / arrayDelegates to ue-recursive-stuff via handleFormatter()

Key Props ​

PropTypeDescription
colObjectColumn header definition (key, formatter, formatterName, isFormatting, hasCopy, target)
itemObjectThe data record for the row
cellValueanyExplicit cell value — overrides item[col.key] when set
cellOptionsObjectExtra cell config — currently supports maxChars for pre-shorten
handleFormatterFunctionFormatter resolution function provided by the table
itemActionFunctionRow action handler provided by the table
clickableRowBooleanTrue when the row itself is clickable (affects edit/activate cells)
groupContextBooleanTrue when the cell is inside a group-by header row
disableTooltipBooleanSkip v-tooltip — used in mobile/touch layouts

TableGroupHeaderRow ​

Renders the sticky group header row when group-by is active in ue-data-table. It shows the group value (with optional formatter), a row count badge, a collapse/expand toggle, and an optional select-all checkbox.

Key Props ​

PropTypeDescription
groupObjectVuetify group object (value, depth, items)
columnsArrayFull column definitions — used for colspan
formatterColumnObject|nullColumn definition whose formatter should render the group value
syntheticItemObjectSynthetic row object used by TableFormatterCell in group context
handleFormatterFunctionFormatter resolution function from the table
itemActionFunctionRow action handler
showSelectBooleanShow the group-level select checkbox
disableFormatterTooltipBooleanDisable tooltips on the formatter cell (mobile mode)

TableActions (table/TableActions.vue) ​

A standalone row of action buttons rendered in the table toolbar or below the table. Accepts an actions array in the same format as ue-form's actions and renders each as a v-btn with optional badge, tooltip, and publish-switch variants.

Props ​

PropTypeDescription
actionsArrayAction definitions (same shape as ue-form actions)

Slots ​

SlotDescription
prependContent placed before the action buttons