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!

Run Custom JS after Calendar Drag and Drop

Tony.A-OracleAug 19 2015 — edited Aug 19 2015

I have a requirement to open a popup window after a user has performed a drag and drop of an item on the new Apex 5 calendar.  The popup is used to enter some notes about why that specific item was moved, so I need to capture the APEX$PK_VALUE.  I tried creating a dynamic action using the Before and After refresh events, but these didn't work too well and I was struggling to get the proper ID captured.  I also tried creating a JS function that opens the popup for the given ID and tried calling that from the drag and drop PL/SQL like this:

htp.p('window["editNote"]('||:APEX$PK_VALUE||');');

This results in an error: unexpected token "w".  I also tried wrapping that in JSON since most ajax calls are expecting that as the output format but that too failed. 

Anyone got an ideas on how to go about this?

Regards, Tony

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 16 2015
Added on Aug 19 2015
0 comments
420 views