ssossossossosso

Forums

Forums OroPlatform OroPlatform – How do I? Questions add grid in account detail view

This topic contains 5 replies, has 2 voices, and was last updated by  Yevhen Shyshkin 1 year, 11 months ago.

  • Creator
    Topic
  • #30544

    fred33
    Participant

    hi how can I add another grid in the general account view. Let me explain . In the grid of the account when you select a line there is another view that appears and shows all the details of the account, is in this view that I want to add my own grid

    sorry for my english

    thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • #30545

    Yevhen Shyshkin
    Participant

    Hello.

    You can use event triggered on form view page to alter its structure (add new block in your case). Event name is rendered dynamically based on used page. Here is example of how it can be done.

    Alternative solution – you can override whole template and add your block there.

    #30546

    fred33
    Participant

    I understand what you mean but where can i found the formlistener or account view

    Thanks

    #30547

    Yevhen Shyshkin
    Participant

    You have to create your own new listener. If you are using Account entity from OroCRM then event name should be oro_ui.scroll_data.before.accountView.

    #30548

    fred33
    Participant

    Sorry I’m a newbie and I’m completely lost with the doc and your explanations

    #30549

    Yevhen Shyshkin
    Participant

    Check this article and example I’ve mentioned above – this way you should be able to understand how to use event listener in your case.

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

You must be logged in to reply to this topic.