Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
The Calendar Menu displays a day/week/month calendar view in your app's Userview.
To know more about Calendar Menu, do check out the sample apps here. in Joget Marketplace.
Figure 1: Calendar Menu
Figure 2: Properties - General
Name | Description | Screens (Click to view) |
---|---|---|
Custom ID | Item link slug. Optional field. Ensure that value defined here is unique to other userview menus in the app, since the first matching/conflicting ID will take precedence in page loading. | |
Label | The userview menu label. | |
Page Title | Calendar page title. | |
Data Binder | List of Datalist Binder will be shown to source entries data from. | |
Auto Handle Date Range | Enable to handle date range automatically, or disable to manually use #requestParam.start# and #requestParam.end# in your binder configuration. Default date format is yyyy-MM-dd. |
Name | Description |
---|---|
Event ID (column ID) | Defines individual calendar entry ID. Form field ID is expected here. |
Event Title (column ID) | Calendar entry title. Form field ID is expected here. |
All Day (column ID, boolean value) | true/false value is expected. Form field ID is expected here. |
From Date (column ID) | Calendar entry date from value. Form field ID is expected here. You can point to Datepicker field with time support. |
From Time (column ID) | Calendar entry time from value. Form field ID is expected here. If you are pointing to the same field as "From Date" above, leave this field empty. |
To Date (column ID) | Calendar entry date to value. Form field ID is expected here. You can point to Datepicker field with time support. |
To Time (column ID) | Calendar entry time to value. Form field ID is expected here. If you are pointing to the same field as "To Date" above, leave this field empty. |
Date Format | Date Format in Java is expected here. e.g. yyyy-MM-dd. You can point to Datepicker field with time support. When you do so, define just the date format here and not the time format. |
Event Url (column ID) | Calendar entry URL. Form field ID is expected here. |
Color (column ID) | Calendar entry CSS color code. Form field ID is expected here. |
CSS Class (column ID) | Calendar entry CSS Class. Form field ID is expected here. |
Additional Data | Additional Data to be added to the calendar entry. |
Name | Description |
---|---|
Google Calendar Integration - Additional Data | Configurations to load calendar entries from Google Calendar. Notes if you want the Calendar Menu plugin to connect to Google Calendar
|
Event Rendering Callback (Javascript) | Custom Javascript code to execute upon rendering each calendar event. |
Event After Rendering Callback (Javascript) | Custom Javascript code to execute for each calendar event, after it has been rendered. Sample Code to change the event time indicator to a more meaningful value var fromTime = event.start.format("H:mm").toString(); var toTime = event.end.format("H:mm").toString(); if (fromTime.indexOf("10:00") > -1 && toTime.indexOf("16:20") > -1) { $(element).find('span.fc-time').text("First Shift --> "); } See sample app here for more info: APP_calendarTest-sample.jwa |
Event After All Rendering Callback (Javascript) | Custom JavaScript code to execute after all rendering of the calendar menu has been completed. |
Event Click Callback (Javascript) | Custom Javascript code to execute when a calendar event is clicked on. Sample Code to open up form view in a popup dialog var popupActionDialog = new PopupDialog("calendarDisplayForm?id="+event.id+"&embed=true"); popupActionDialog.init(); |
Time Display Format | Refer to https://fullcalendar.io/docs/date-formatting-string for formats. |
Custom Header (HTML) | Custom header in HTML to show on the top of the calendar. |
Custom Footer (HTML) | Custom footer in HTML to show on the bottom of the calendar. |