Problem
SELECTION binding on DATAGRID2 (pluggable widget) may not persist after mxcli exec. GALLERY (built-in widget) works as a workaround, but this difference is undocumented — users don't know the supported scope for pluggable vs built-in widgets.
Current behavior
The MDL SELECTION syntax and code path are the same for both (mdl/grammar/domains/MDLPage.g4:334; mdl/executor/widget_engine.go:432-433 → SetSelection at mdl/backend/mpr/widget_builder.go:111-127). But DataGrid2 is pluggable (.def.json), so its itemSelection property nesting/PropertyKey may differ from Gallery's template, and SetSelection may miss the target and fail silently. There is no DataGrid2 selection-binding test.
Request
- Documentation: clearly specify MDL support scope for pluggable widgets (DataGrid2) vs built-in widgets (Gallery), including the SELECTION-binding workaround.
- (Stretch) Make DataGrid2 SELECTION binding persist, with a regression test.
Touch points
- Verify the DataGrid2
.def.json Selection property path; align SetSelection (mdl/backend/mpr/widget_builder.go) if it differs.
- Add a test alongside
mdl/executor/roundtrip_mxcheck_datagrid_test.go.
- Document scope (skill / docs-site).
Source: customer feedback batch (2026-06). Reporter: Miwa. Reporter severity: 5/5.
Filed after codebase investigation at 297e0b0a.
Problem
SELECTIONbinding on DATAGRID2 (pluggable widget) may not persist aftermxcli exec. GALLERY (built-in widget) works as a workaround, but this difference is undocumented — users don't know the supported scope for pluggable vs built-in widgets.Current behavior
The MDL
SELECTIONsyntax and code path are the same for both (mdl/grammar/domains/MDLPage.g4:334;mdl/executor/widget_engine.go:432-433→SetSelectionatmdl/backend/mpr/widget_builder.go:111-127). But DataGrid2 is pluggable (.def.json), so itsitemSelectionproperty nesting/PropertyKey may differ from Gallery's template, andSetSelectionmay miss the target and fail silently. There is no DataGrid2 selection-binding test.Request
Touch points
.def.jsonSelection property path; alignSetSelection(mdl/backend/mpr/widget_builder.go) if it differs.mdl/executor/roundtrip_mxcheck_datagrid_test.go.Source: customer feedback batch (2026-06). Reporter: Miwa. Reporter severity: 5/5.
Filed after codebase investigation at
297e0b0a.