ssossossossosso

Forums

This topic contains 3 replies, has 3 voices, and was last updated by  Ahmad Golzar 3 years, 3 months ago.

  • Creator
    Topic
  • #29357

    mouali
    Participant

    Hi,

    We implement a Datagrid, for an entity. The action that load this datagrid receive has a request parameter, that we need to pass to next controllet throw the Datagrid Action.

    In datagrid.yml, we add a link:

    factureId is a parameter received throw Request, it’s a Get variable.

    The question: How shall we write in datagrid.yml inside of ??? in order that it work as we expect ?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #29358

    Alexandr Smaga
    Participant

    Hello.

    I think you can use callback property in order to fetch parameters from request.

    #29359

    mouali
    Participant

    Hi Alexandr,

    Thanks for your answer.

    Unfortunately, i already tested with callback property, but still undefined property error.

    Thanks

    #29360

    Ahmad Golzar
    Participant

    Hi,

    This may be too late, but in case it helps:

    In params which is an array the key should be the name of the router variable and the value should be the key of the query results. In this example “somethingId” should be in the results of your query.

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

You must be logged in to reply to this topic.