Skip to Main Content

Breadcrumb

This page shows how to get the current calendar status with javascript methods. Upon switching the view type or navigating to the next or previous page, a dynamic action is being executed. The jQuery FullCalendar API method getView is being used to get the current calendar view object. Its attributes can then be used to query the view type or start and end dates. Use a Set Value action to store this information in Application Express page items.

// get the view type (month, agendaWeek, agendaDay or list
apex.region("{Region Static ID}").widget().fullCalendar("getView").name 

// get the start date of the view
apex.region("{Region Static ID}").widget().fullCalendar("getView").start.format( "YYYY-MM-DD HH:mm:ss" )

// get the end date of the view
apex.region("{Region Static ID}").widget().fullCalendar("getView").end.format( "YYYY-MM-DD HH:mm:ss" )

Button Bar

Tasks