ssossossossosso

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 1 year ago.

  • Creator
    Topic
  • #30765

    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
  • #30766

    Mike Kudelya
    Moderator

    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)

You must be logged in to reply to this topic.