Skip to content
  1. Extras
  2. PageBuilder
  3. Field types
  4. Free
  5. migx

Field migx

Edition: Free. Requires the MIGX package. Without it the field stays in the CMP, but the grid does not mount (fallback: JSON textarea).

Why this type

  • Real ExtJS MIGX TV grid, not a Vue repeater
  • Reuse an existing MIGX Config or set formtabs / columns like a TV
  • Useful when editors already work with MIGX

When to use

  • Complex rows with the same tabs as in MIGX Configs
  • Migrating content from a MIGX TV into PageBuilder sections
  • When you need native MIGX add/edit, not repeater

Tips

  • Prefer a config name in configs (MIGX → Configs)
  • Add/edit windows stack above the inspector (z-index)
  • Without MIGX: JSON in a textarea and a Retry button

Similar types

Schema

Via MIGX Configs:

json
{
  "name": "items",
  "type": "migx",
  "label": "Items",
  "configs": "my_migx_config",
  "tab": "Content",
  "width": 100,
  "active": true
}

Or inline formtabs / columns (same as TV input properties):

json
{
  "name": "items",
  "type": "migx",
  "label": "Items",
  "formtabs": "[{\"caption\":\"Item\",\"fields\":[{\"field\":\"title\",\"caption\":\"Title\"}]}]",
  "columns": "[{\"header\":\"Title\",\"dataIndex\":\"title\",\"width\":160}]"
}

migxConfig / migx_config are aliases for configs.

Value

JSON array of objects (same as a MIGX TV value):

json
{
  "items": [
    { "MIGX_id": 1, "title": "First" },
    { "MIGX_id": 2, "title": "Second" }
  ]
}

Section data

The field key (for example items) stores a MIGX row array with MIGX_id and formtabs fields.

Chunk example

fenom
{foreach $items as $item}
  <div>{$item.title|escape}</div>
{/foreach}

Common properties

KeyTypeRolePanel
tabstringGroup subtitleyes
width25–100Field width %yes
descriptionstringHintyes
defaultarrayInitial valueyes
activeboolHide in inspectoryes
requiredboolRequired on publishyes
configsstringMIGX config nameyes
formtabsstring/arrayItem form tabsyes
columnsstring/arrayGrid columnsyes

Next