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!

model.clearChanges() giving error

DaudSep 25 2022

I have an IG that is created from apex_collection.
On one of the columns, i created a DA. The event is Change.
The first true action is to execute some plsql codes that will update multiple rows in the apex_collection.
The second true action is refresh the grid to reflect the updated data in apex_collection.
I would like to disable the alert message below. So, I added the javascript below.
It works fine if I tab out of the grid cell. However, if i make a change to a grid cell and click ENTER, I will get an error. The error message is pasted below.
apex.region('IG1').widget().interactiveGrid('getViews', 'grid').model.clearChanges();
image.png
image.pngHow do I avoid the error above? Thanks.

This post has been answered by Hamza Al-abbasi on Sep 25 2022
Jump to Answer
Comments
Post Details
Added on Sep 25 2022
7 comments
413 views