Forums

Covering OroCommerce, OroCRM, OroPlatform topics, including community updates and company announcements.

Forums Oro Community How to add dynamic filter to datagrid

This topic contains 1 reply, has 2 voices, and was last updated by Andrey Yatsenko Andrey Yatsenko 7 months, 2 weeks ago.

  • Creator
    Topic
  • #37494

    mitnic1995
    Participant

    Hi,
    I created a custom entity which contain a relation field to accounts and opportunities. Now I want to add a dynamic filter to opportunity grid which automatically filters opportunity records by specific account.

    How should it work: I go to create new record of my custom entity, I select a related account, and when I click opportunity select button which shows a opportunity grid, the opportunity records should be filtered by account name which I selected earlier.

    I created a event “BuildBefore” on sales-opportunity-grid and it works (I can fill the account filter) but I can’t get access to my custom entity record to get the account’s name or id.

    Can You help me with that?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No