简体   繁体   中英

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.

在此处输入图片说明

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) ;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM