Paul Noris
Paul Noris

Reputation: 103

How refresh a grid of another form on Dynamics ax

Does anyone know how to refresh a grid on another form through a button? I mean when I add something, I want to see it reflected immediately on the other form.

enter image description here

Upvotes: 0

Views: 3756

Answers (1)

If the form your are updating get opened from the other form, Then in updating form class declaration declare caller as Formrun caller; Then in Init method initialize caller. caller = element.args().caller(); Then on save button clicked method after super, call this caller.dataSource().research(true);

Upvotes: 4

Related Questions