ssossossosso

Forums

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

This topic contains 2 replies, has 2 voices, and was last updated by thinh2010 thinh2010 5 months ago.

  • Creator
    Topic
  • #35190
    thinh2010
    thinh2010
    Participant

    Hi,

    I want to make a datagrid refresh after submit a form in dialog.

    Here is my twig file to call the dialog:

    This code display the list of payments of student. And a ‘Add payment’ button. After add a payment, I want to refresh a payment list.

    Do anyone have ideal for this?
    Thanks

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

    Choukk
    Participant

    Hello,

    Take a look at

    mediator.trigger('datagrid:doRefresh:my-grid-identifier');

    I think it should help you.

    #35216
    thinh2010
    thinh2010
    Participant

    Thank you, Choukk, it works perfectly 😀

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

You must be logged in to reply to this topic.