Skip to content

DataGrid2 column — cannot combine ShowContentAs: customContent + filter widget simultaneously #1111

Description

@acarum

There is a current limitation in DataGrid2 (and in the MDL layer) that prevents combining a visual content
widget (e.g. a checkbox rendered read-only) with a filter widget (e.g. dropdownfilter) inside the same column block.

The {} block of a DataGrid2 column accepts either a content widget or a filter widget — not both. As a result, migration tooling must choose one:

  • ShowContentAs: customContent + checkbox (Editable: Never) → visual checkbox, no filter
  • plain column + dropdownfilter → filterable, but Boolean value rendered as true/false text

Expected behavior:

A Boolean DATAGRID column should support both a visual checkbox rendering (read-only) and a dropdown filter (True / False / All) simultaneously, consistent with what end users

Request:

Investigate whether DataGrid2 can be extended to natively support a Boolean column type that combines checkbox rendering with dropdown filtering — similar to how
ShowContentAs: dynamicText coexists with datefilter on DateTime columns. If a new ShowContentAs: booleanCheckbox (or equivalent) property can be introduced, it would close the
gap and allow generated MDL to produce pixel-accurate migrated screens.

Affected area: DataGrid2 widget / MDL column syntax

Environment
Mendix: 11.12.0
mxcli: local binary (.0.21.0)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions