Envisioning LogoEnvisioning App (2.0.0)
Blocks

GridBlock

GridBlock

GridBlock

GridBlock

Object containing the following properties:

PropertyDescriptionTypeDefault
idstring'GridBlock'
block (*)'GridBlock'
schemaKeystring
pathstring
gapnumber
groupByPathWhen set, page groupOptions are ignored. Either a schema join key (metric or related object — same layout as groupOptions) or a dot-path on each item (value: i18n object preferred, string fallback; label via t()).string
orderItemsByWhen set, page sortOptions are ignored. Dot-path keys with 1 (asc) or -1 (desc). Applies to full list and within each group.Record<string, 1 | -1>
groupByPathOrderWhen set and groupByPath points to an attr (not a schema join), controls the order of groups. Supported keys: 'label', 'key', 'count'. Values: 1 (asc), -1 (desc). Ignored when groupByPath points to a metric or other schema join. If omitted for attr, alphabetical by label.Record<string, 1 | -1>
itemBlockId (*)The ID of the block to render for each itemstring

(*) Required.

On this page