OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – How do I? Questions overwrite datagrid

This topic contains 2 replies, has 2 voices, and was last updated by  jaime.du 5 years, 11 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
  • #29571

    jaime.du
    Participant

    Hi guys

    I tried to overwrite the datagrid of a certain bundle in my custom extend bundle. I didn’t change anything but copy the datagrid.yml to the same path. But I always get this error:

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #29572

    Alexander
    Moderator

    Hi @jaime.du

    For now it’s not clear enough what are you trying to achieve by copying existing ‘datagrid.yml’ to your own bundle. E.g. if you want to use existing grid and want to update source, columns, etc. you can just define new grid with ‘extend’ parameter that will contain the name of the grid you want to extend.

    But if you want to override the behaviour of existing datagrid please refer to Datagrid Documentation

    There are already many working examples, you can find them by searching for ‘event: oro_datagrid.datagrid.build.’ in ‘*.yml’ files.

    #29573

    jaime.du
    Participant

    THANKS

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

The forum ‘OroCRM – How do I? Questions’ is closed to new topics and replies.

Back to top