ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 1 reply, has 2 voices, and was last updated by  Yurii Muratov 2 years, 1 month ago.

  • Creator
    Topic
  • #13399

    anhnhoktvn
    Participant

    I’d like to pass parameter from request to fitlers of dataGrid like this:

    how could i archive this?

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

    Yurii Muratov
    Oro Core

    Hi, anhnhoktvn.

    To set default value that comes from datagrid parameters, you can create own datagrid listener what will set this value to the filters part.

    Hereis listener class:

    Service definition of this listener:

    With this example, it’s not necessary to add default block definition in your datagrid.yml file.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.