Skip to content

ObjectsGridCardCell

Overview

Renders a single field as a label/value pair in the card-layout view of ObjectsGrid.

Theme entry: ObjectsGridCardCell

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.
headerClassstring""Additional CSS class applied to the field label header element.

Slots

Scoped slot.

Bindings

NameDescription
key
class
row-index
column-index
row-count
column-count
field
gird-type
is-table-layout
is-card-layout
data-card-header

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/ObjectsGridCardCell.vue

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