Skip to content

ObjectsGridBodyCell ​

Overview ​

Renders a single data cell in the table-layout view of ObjectsGrid, exposing field value and metadata through the value slot.

Theme entry: ObjectsGridBodyCell

Props ​

NameTypeRequiredDefaultDescription
themeOverrideObjectnullA partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants.
fieldobjectyesField definition object; name, label, value, and formatted properties are used by this component.
objobjectyesThe raw data object for the current row.
relatedObjectobjectyesRelated (joined) object data for the current row.
calculatedObjectobjectyesPre-calculated derived values for the current row.
rowIndexnumberyesZero-based index of the current row.
columnIndexnumberyesZero-based index of the current column.
rowCountnumberyesTotal number of rows in the grid.
columnCountnumberyesTotal number of columns in the grid.
fieldPropsobject{}Additional props forwarded to the value slot.
pkKeystring"id"Name of the primary key property on obj.
pkstring|numberundefinedPrimary key value of the current row's object.

Slots ​

value ​

Scoped slot.

Bindings ​

NameDescription
key
calculatedObj
columnIndex
field
formatted
isTableLayout
isCardLayout
obj
pk
pkKey
relatedObj
rowIndex
rowCount
columnCount
value

Source ​

client/lib/objects-grid/ObjectsGridBodyCell.vue