简体   繁体   English

如何在Dynamics Axe上刷新另一种形式的网格

[英]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; 如果要更新的表单是从另一个表单中打开的,则在更新表单类声明中, Formrun caller;声明为Formrun caller; Then in Init method initialize caller. 然后在Init方法中初始化调用方。 caller = element.args().caller(); Then on save button clicked method after super, call this caller.dataSource().research(true) ; 然后在超级按钮后单击保存按钮的方法,调用此caller.dataSource().research(true)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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