Forums

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

Forums 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 5 years, 5 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
  • #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)

The forum ‘Oro Community’ is closed to new topics and replies.

Back to top