【发布时间】:2018-05-11 07:18:40
【问题描述】:
我是 oracle apex 的新手,我正在使用 oracle apex 5.1
我正在尝试将选定记录从模式页面中的交互式网格复制到主页中的另一个交互式网格(页面调用模式页面)。
我尝试了许多方法,例如 getSelectedRecords 和 setSelectedRecords、model.fetchRecords 等等,但都没有成功。下面的方法是最接近我想要达到的方法:
var labTemplateData = apex.region("modalInteractiveGrid").widget().interactiveGrid("getViews","grid").model._data;
parent.apex.region("parentInteractiveGrid").widget().interactiveGrid("getViews","grid").model._data = labTemplateData;
parentInteractiveGrid 中的数据已更新(我在 chrome 开发人员工具中检查过),但未在网格中显示。我错过了刷新或更新吗?还是有更好的方法?
谢谢。
【问题讨论】:
标签: oracle-apex oracle-apex-5.1