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!

how to access calendar data (startDate and endDate) using javascript

DaudSep 17 2020 — edited Sep 18 2020

Hello

If I have a DA on a calendar for a View Changed event I can access the start and end dates of the calendar in javascript like below.

this.data.startDate

this.data.endDate

However, if I create a button and attach a DA (for on click) to that button, how can I access the start and end date of the calendar?

I need a way to replace "this" with a reference to the calendar.

It is something like below but i could not figure out the exact code since I am a novice in js.

apex.region("calendar_region").widget().fullCalendar ????

Can anyone help? thanks.

Comments
Post Details
Added on Sep 17 2020
5 comments
1,695 views