Skip to content

Ability to include entity table datagrid on non-CRUD page (eg. dashboard index)Β #3847

@quentint

Description

@quentint

Short description of what this feature will allow to do:
A way to embed an entity datagrid in a non-CRUD page would be pretty awesome. For example, being able to add multiple (smaller) datagrids on the dashboard's homepage. A bit like this PR offers: #3543

Example of how to use this feature
Could look like this (Twig pseudo-code):

{% include '@EasyAdmin/crud/datagrid.html.twig' with {entities: articles} %}

I'm aware this is an edge-case need. If anyone knows a way to do it with a bit more code, please let me know (I'm stuck trying to fake ea.crud to be able to use {{ block("main", "@EasyAdmin/crud/index.html.twig") }}) πŸ˜‰

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