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!

IG add row & set focus on newly added row's first column

ragu_sJun 28 2020 — edited Jul 1 2020

Hello Everyone,

I am trying to automatically add row to IG when data changes in the last column of IG and then focus the cursor on the newly added row on the first column. I added the DA to add row to IG using below JS code. But I am unable to set the focus on the newly added row. I want to set focus on the first column of IG for the newly added row. Can anyone please guide me.

apex.region("id-region-addprod").widget().interactiveGrid("getActions").invoke("addRow");

For example see below IG. When my last column in IG "Misc Description" changes i am adding a new row but unable to set the focus on "ProdNo" column for the newly added row.

Oracle Apex Version 5.1.4.00.0

Oracle Database Version 12c 12.1.0.2.0

pastedImage_1.png

Thanks,

Ragu

Comments
Post Details
Added on Jun 28 2020
5 comments
731 views