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
themeOverrideString|Object|ArraynullA partial theme object merged with the component's default theme; accepts a class string, class array, or theme object.
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
calculated-obj
column-index
field
formatted
is-table-layout
is-card-layout
obj
pk
pk-key
related-obj
row-index
row-count
column-count
value

Source

client/lib/objects-grid/ObjectsGridBodyCell.vue

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2