OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – How do I? Questions How to use datagrid binded parameter as route parameter?

This topic contains 1 reply, has 2 voices, and was last updated by  Mike Kudelya 7 years, 3 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
  • #36420

    bosumflici
    Participant

    Hi,

    I tried to use a binded parameter as a parameter for a delete route. But i do not want to select the column id as in the select list because i get a group by it.

    I need something like this:

    It could be done like this:

    But this will group by pv.id and r.id and i need only by pv.id.

    Thanks for any suggestions!

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #36421

    Mike Kudelya
    Participant

    Hi

    You can create listener:

    services.yml (after ‘oro_datagrid.datagrid.build.before.’ please set name of your grid):

    GridListener.php

    twig template:

Viewing 1 replies (of 1 total)

The forum ‘OroPlatform – How do I? Questions’ is closed to new topics and replies.

Back to top