从 Acumatica 中的其他网格行更新网格行 [英] Updating Grid rows from other grid rows in 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
用于设置值并触发相关事件,但它不会导致 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屋!