从 Acumatica 中的其他网格行更新网格行 [英] Updating Grid rows from other grid rows in Acumatica

查看:37
本文介绍了从 Acumatica 中的其他网格行更新网格行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个显示各种记录的网格视图.从一行中的 FieldUpdated 事件中,我可能会更新也显示在网格视图中的其他相关行中的值.

I have a Grid view that displays various records. From a FieldUpdated event in one row I might Update a value in other dependant rows also displayed in the Grid view.

在回发返回时立即显示其字段触发回发的行中的更改.但是,如何在客户端指示也已更新的其他依赖行需要刷新?

Changes in the Row whose field triggered the postback are shown immediately when the postback returns. However, how can I indicate the other dependant rows that have also been updated that need to be refreshed in the client?

sender.SetValueExt(dependantRow, newValue);用于设置值并触发相关事件,但它不会导致 UI 更新,直到缓存被持久化并刷新整个 UI.

sender.SetValueExt<DAC.field>(dependantRow, newValue); works to set the values and trigger the related events but it does not cause an update in the UI until the Cache is Persisted and the entire UI is refreshed.

推荐答案

我在找

RecordsView.View.RequestRefresh();

这篇关于从 Acumatica 中的其他网格行更新网格行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆