OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM Datagrid with ID PARAM

This topic contains 4 replies, has 2 voices, and was last updated by  ruizalexandre 9 years, 10 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #30086

    Hi, I want create a Datagrid of my entity Invoice.
    This Datagrid is related at an Account (referenced with an ID).
    How I can create this Datagrid, with

    Thanks you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #30087

    Alexandr Smaga
    Participant

    Hello.

    Please take a look to this FAQ. There is explanation how you can create it.

    Also you can refer to already defined grids such as “order items for single order”.
    Need to add where clause, listener and params in template.

    Hope this will help.

    #30088

    I have followed your example for the construction of the datagrid with parameters.
    But I’ve this error :

    I have created 3 files services.yml, datagrid.yml and my template.

    services.yml

    show.html.twig

    datagrid.yml

    #30089

    Alexandr Smaga
    Participant

    Please try to pass

    instead of

    To event listener

    #30090

    Yes it’s working.
    Thanks you.

Viewing 4 replies - 1 through 4 (of 4 total)

The forum ‘OroCRM’ is closed to new topics and replies.

Back to top