Reputation: 103
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.
Upvotes: 0
Views: 3756
Reputation: 426
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