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.