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!

Set Cell Value in Interactive Grid

JackfromDresdenAug 9 2019 — edited Aug 16 2019

Hi,

my APEX Version is 19.1 and i have the following Issue.

I try to the set the value of a cell in column col2 after changing the cell in column col1 of the same row.

I defined a dynamic action. i tried it with both cases execute when the user leaves the cell in col1 (onchange) or execute when the cell in column col2 gets the focus.

Event Action is Eexecute Javascript Code

And now here is my Problem:

I tried it with the code of this example https://thtechnology.com/2017/07/03/apex-interactive-grid-javascript-basics-cheat-sheet/

var $te = $(this.triggeringElement);

var rowId = $te.closest('tr').data('id');

alert(rowId);

The alert tells me, that rowId is undefined, but the tr element has an ID (see Attachment).

I can#t figure out where the problem is.

This post has been answered by John Snyders-Oracle on Aug 13 2019
Jump to Answer
Comments
Post Details
Added on Aug 9 2019
5 comments
4,658 views