NUI / Components / Scroll, Lists & Data
DynamicEntryBox
DynamicEntryBox generates repeated entries from inline items or a data source.
Supported as a repeated-entry data component.
Overview
DynamicEntryBox generates repeated entries from inline items or a data source.
When to use
- Repeated buttons.
- Quick actions.
- Generated rows.
- Generated tiles.
- Data-driven entry groups.
Children
Uses data/template fields instead of normal children.
Basic syntax
DynamicEntryBox ActionEntries {
items: "attack|Attack|1;defend|Defend|2"
}Supported properties
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
items | string | No | Empty | Inline item data. |
dataSource | string | No | Empty | Named external data source. |
itemKey | string | No | Empty | Field or static key binding. |
itemText | string | No | Empty | Field or static display text binding. |
itemValue | string | No | Empty | Field or static value binding. |
itemCommand | string | No | Empty | Command when an entry is used. |
layout | enum | No | vertical | Entry layout mode. |
entryWidth | number | No | Default | Entry width. |
entryHeight | number | No | Default | Entry height. |
entrySpacing | number | No | 0 | Space between entries. |
recycleEntries | bool | No | true | Reuses entry widgets. |
recyclePoolSize | integer | No | Default | Recycle pool size. |
width | number | No | Auto | Desired width. |
height | number | No | Auto | Desired height. |
visible | bool | No | true | Visibility flag. |
Contextual properties
Contextual property rules
DynamicEntryBox may receive stack, canvas, grid, wrap, or ExpandableArea slot properties only when it is authored as a direct child of the matching parent. It does not support normal authored child nodes.
Full syntax example
DynamicEntryBox ActionEntries {
items: "attack|Attack|1;defend|Defend|2"
itemKey: "id"
itemText: "label"
itemValue: "value"
itemCommand: "RunAction"
layout: horizontal
entryWidth: 120
entryHeight: 36
entrySpacing: 8
recycleEntries: true
recyclePoolSize: 16
width: 420
height: 80
visible: true
}Limitations
- Normal children { ... } blocks are not public syntax for this component.
- For radial layout, document radialStartAngle and radialArc only on a dedicated radial example page after verification.