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!

Calendar: custom date format in day view only?

MalcAOct 11 2018 — edited Nov 2 2018

APEX version: 18.1.0.00.45

Oracle 12c Release 12.1.0.1.0

All,

The calendar region's Advanced section on the attributes list, accepts JavaScript Initialisation Code, and scripts like this can be added:

function ( pOptions) {

    pOptions.titleFormat = "[Conference Schedule]";

    return pOptions;

}

This works as documented in the APEX help.

What I want to do though is override the Day view's date format only, and put the actual day on there, so instead of '11 October 2018' it will show 'Thursday' as well.

The help for the latest version of FullCalendar has examples of how to do this, with the titleFormat Views option: https://fullcalendar.io/docs/view-specific-options What I can't figure out is the JavaScript I need to put in the Calendar region's JavaScript initialisation code, that is the equivalent to the script shown in that link. Or maybe I can put the script from the link above, in the page 'Execute When Page Loads' setting. I've tried this too but can't get it to work. Has anyone any ideas?

Thanks in advance,

Malcolm.

Comments
Post Details
Added on Oct 11 2018
7 comments
894 views