Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Master-detail Interactive Grid - refresh detail grid

Rick-PickJun 7 2019

APEX 19.1.

I have master-detail IG's in which both grids are editable. The master IG contains "Items" and the detail contains "Components". An Item can have 0 or many Components.

There's an inline region which pops up to allow the user to copy components from the selected item to one or more other items using a PL/SQL process on a DA (which does not submit the page). Only one item at a time can be selected in the master grid.

This is all working fine, but when closing the inline region I need to retrieve the newly added data back into the detail grid. I'm trying to do this with

apex.region("cost-components").call("getActions").invoke("refresh");

This does appear to refresh the grid, but only for the selected item. When you select an item which was a target of the copy, no component data is displayed although it does exist.

The only way I can get all the data to display correctly is to submit the page - which I really want to avoid if possible.

I have tried some of the suggestions made in previous posts on the topic of refreshing an IG but so far without success.

Thanks for any help you are able to provide!

Rick

Comments
Post Details
Added on Jun 7 2019
0 comments
372 views