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!

Last line in Interactive Grid not saved

Alexis BApr 24 2024

Hi all,

On Apex 20.2, I have an interactiv grid pre-populated with 5 lines
1 read only column Box populated from 1 to 5
1Numeric column Qty that must be populated manually by user
User need to populate Qty into each box

When users press OK button to submit page :
“Save Interactive Grid Data” process is launched

BUT last line amended is NOT saved into my table (all other lines are successfully saved except the last one amended)
However if user click anywhere else before to click button OK, then my last line is saved

I found another post https://forums.oracle.com/ords/apexds/post/last-row-on-interactive-grid-value-won-t-store-5782 explaining it is because IG Cell need to lose focus to confirm the new value

I tried the Javascript solution mentionned, but if user doesn't press ENTER, this doesn't work
I also tried to add a DA on my OK button to firstly set focus on another field and then submit page, but it didn't work

Does anyone would have a solution please?
Thanks

Best regards,

This post has been answered by Karel Ekema on Apr 25 2024
Jump to Answer
Comments
Post Details
Added on Apr 24 2024
5 comments
461 views