Skip to content

Generate Overview Page from Persisted Entity- DataGrid 2 is not configure properly #189

@acarum

Description

@acarum

mxcli version | mxcli version v0.6.0-dirty (2026-04-09T16:08:35Z)
-- | -- | --
Mendix version | 11.9.0
Scenario (command/MDL script) | Could you generate an overviewpage from MyEntity?

/**

  • Overview page for MyModule.MyEntity
    */
    CREATE OR REPLACE PAGE MyModule.MyEntity_Overview
    (
    Title: 'MyEntity Overview',
    Layout: Atlas_Core.Atlas_Default,
    Url: 'MyEntityOverview'
    )
    {
    LAYOUTGRID mainGrid {
    ROW row1 {
    COLUMN colContent (DesktopWidth: 12) {
    DYNAMICTEXT heading (Content: 'MyEntity', RenderMode: H2)
    DATAGRID MyEntityGrid (
    DataSource: DATABASE FROM MyModule.MyEntity,
    Selection: Single,
    PageSize: 50,
    Pagination: virtualScrolling
    ) {
    COLUMN colAttribute (Attribute: Attribute, Caption: 'Attribute', Tooltip: 'Attribute') {
    TEXTFILTER textFilter1
    }
    COLUMN colAttribute2 (Attribute: Attribute_2, Caption: 'Attribute 2', Tooltip: 'Attribute 2') {
    TEXTFILTER textFilter2
    }
    }
    }
    }
    }
    }

Expected output | The generated page should contain a DG2 with two Columns, no additional manualy clicks should be required
Experienced output | The layout must be refresh manually (Upgrade Widgets) and the Filter Search are replicated

Image Image

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