{"id":29170321,"url":"https://github.com/mendixlabs/calendarwidget","last_synced_at":"2025-07-01T12:39:52.350Z","repository":{"id":20679316,"uuid":"23962294","full_name":"mendixlabs/CalendarWidget","owner":"mendixlabs","description":"This is a calendar widget for Mendix. It shows a Calendar and can render objects as events in it.","archived":false,"fork":false,"pushed_at":"2023-04-15T22:25:34.000Z","size":11351,"stargazers_count":9,"open_issues_count":12,"forks_count":28,"subscribers_count":23,"default_branch":"master","last_synced_at":"2024-04-13T17:55:34.489Z","etag":null,"topics":["mendix","mendix-widget"],"latest_commit_sha":null,"homepage":"https://appstore.home.mendix.com/link/app/248/Mendix/Calendar-widget","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mendixlabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-12T13:44:53.000Z","updated_at":"2022-12-22T21:17:41.000Z","dependencies_parsed_at":"2023-01-11T21:38:13.796Z","dependency_job_id":null,"html_url":"https://github.com/mendixlabs/CalendarWidget","commit_stats":null,"previous_names":[],"tags_count":41,"template":false,"template_full_name":null,"purl":"pkg:github/mendixlabs/CalendarWidget","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendixlabs%2FCalendarWidget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendixlabs%2FCalendarWidget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendixlabs%2FCalendarWidget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendixlabs%2FCalendarWidget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mendixlabs","download_url":"https://codeload.github.com/mendixlabs/CalendarWidget/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mendixlabs%2FCalendarWidget/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262964074,"owners_count":23391949,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mendix","mendix-widget"],"created_at":"2025-07-01T12:39:43.795Z","updated_at":"2025-07-01T12:39:52.322Z","avatar_url":"https://github.com/mendixlabs.png","language":"JavaScript","readme":"# Calendar Widget\nThis is a calendar widget for Mendix. It shows a Calendar and can render objects as events in it.\n\n## Contributing\nFor more information on contributing to this repository visit [Contributing to a GitHub repository](https://world.mendix.com/display/howto50/Contributing+to+a+GitHub+repository)!\n\n## Dependencies\n- FullCalendar v2.8.0\n- JQuery v2.1.3\n- Moments.js v2.9.0\n\n## Features\nThe Calendar Widget is a Mendix implementation of the open-source jQuery widget [FullCalendar](http://fullcalendar.io/).\n\n## Configuration\n\n### Data source\n\n#### Data source type\n\nThis widget supports 4 types of data source. All these require the Event Entity to be set.\n\nThe default is 'XPath retrieve'. This can be combined with an optional XPath Constraint.\n\nThe 'Microflow' option uses the 'Data source microflow' to fill the events for the calendar. Make sure this microflow returns a list of objects of the same type as the 'Event Entity'.\n\nThe 'Microflow with context object' lets you pass a context object (from a Dataview) to the microflow to retrieve the events. When using this option, you can use the 'Dataview Context (Optional)' options to set up the configuration for this. Make sure this microflow returns a list of objects of the same type as the 'Event Entity'.\n\n*NEW* The 'Microflow with context object (Retrieve events for each view)' does the same as the above version, but this one lets you filter them based on the current view. This requires the 'Reference to ViewRender entity (if used)' to be set. This reference will be set and the referenced ViewRender object will contain the Start and End datetime needed to constrain the events on. The normal 'Dataview data source microflow' is still used for this retrieve.\n\n#### Event Entity\nThe entity for the Event objects that will be shown on the Calendar.\n\n#### XPath Constraint\nAn optional XPath constraint. This is only used when the data source type is set to 'XPath retrieve'.\n\n#### Data source microflow\nThe microflow to fill the Calendar. Only used when the Data source type is set to 'Microflow'. Make sure this microflow returns a list of objects of the same type as the 'Event Entity'.\n\n### Dataview context (Optional)\nThese options are only applicable if the 'Data source type' is set to 'Microflow with context object'.\n\n#### Dataview Entity\nThe entity of the dataview in which the Calendar widget is placed.\n\n#### Reference to ViewRender entity (if used)\nThis reference will be used to link the ViewRender object to the context object, so that it can be retrieved in the datasource microflow.\n\n#### Start pos attribute\nThis option lets you specify an attribute of the Dataview object to be used as the start position where the Calendar opens.\n\n#### Dataview data source microflow\nThe microflow to fill the Calendar. Only used when the Data source type is set to 'Microflow with context object' and should have one input parameter, matching with the 'Dataview Entity'. Make sure this microflow returns a list of objects of the same type as the 'Event Entity'.\n\n### Event Data\n\n#### Title\nThe String attribute that contains the title for the event.\n\n#### Start\nThe DateTime attribute that contains the Start date for the event.\n\n#### End\nThe DateTime attribute that contains the End date for the event.\n\n#### All Day\nThe Boolean attribute that specifies if the event is an All Day event, or at a specific time that day.\n\n#### Editable\nBoolean to set if the user is allowed to change the events using drag and drop.\n\n### Behaviour\n\n#### On change\nA microflow that is triggered whenever an event is changed through drag and drop. The microflow gets the Event object as input parameter. (Only works if 'Editable' is set to True)\n\n#### On click\nA microflow that is triggered when an event is clicked. The microflow gets the Event object as input parameter.\n\n#### New event\nA microflow that is triggered when the user clicks somewhere in the calendar where there is no event yet. This will create a new object of the same entity as the 'Event entity' with the Start attribute filled with the date that was clicked, and send this to the microflow as input parameter.\n\n#### New event reference\nThis reference can be configured from the Event entity to the context object and will be set when a new Event is created by clicking in the Calendar.\n\n#### Start view\nThe view that the Calendar should start on.\n\n#### Now indicator\nThe Boolean attribute that sets the now indicator on or off.\n\n### View settings\n\n#### Height\nThe height of the Calendar in pixels.\n\n#### Show weeknumbers\nThis boolean lets you turn the weeknumbers on and off.\n\n#### Weeknumber Title\nThe title for the column with the weeknumbers. This defaults to a simple 'W'.\n\n#### Enum for colors\nYou can set an enumeration here (an attribute on the Event Entity) to specify the color for each event. The enumeration key has to match with one of the colors specified under 'Colors'.\n\n#### Colors\nA list of event color combinations and their matching Enumeration key, as set in 'Enum for colors'.\n\n#### Show weekends\nA boolean to set if the weekends should be shown on the Calendar.\n\n#### First day of the week\nAn integer to set what the first day of the week is, where 0 = Sunday, 1 = Monday, etc.\n\n#### Custom time format\nDefault: h:mm{ - h:mm}. For more information: http://fullcalendar.io/docs/text/timeFormat/\nBe aware that this format is mutually exclusive with the View specific time formats.\n\n#### Custom date format\nThe date format that is shown in the column headings. For more information: http://fullcalendar.io/docs/text/columnFormat/\nBe aware that this format is mutually exclusive with the View specific date formats.\n\n#### Custom title format\nThe header title format that is shown in the header's title. For more information: http://fullcalendar.io/docs/text/titleFormat/\n\n#### Month names format\nA translatable string of all the month names that are used in the Calendar.\n\n#### Month short names format\nA translatable string of all the shorthand month names that are used in the Calendar.\n\n#### Day names format\nA translatable string of all the day names that are used in the Calendar.\n\n#### Day short names format\nA translatable string of all the shorthand day names that are used in the Calendar.\n\n### Extra\n\n#### Available views\nA list of which views should be available to the user in the Calendar (Month, Basic Week, Agenda Week, Basic Day, Agenda Day, List Day, List Week, List Month, List Year). For more information: http://fullcalendar.io/docs/views/Available_Views/\n\n##### Custom time format\nDefault: h:mm{ - h:mm}. Overrides the 'general' custom time format property. For more information: http://arshaw.com/fullcalendar/docs/text/timeFormat/\n\n##### Custom date format\nFor more information: http://arshaw.com/fullcalendar/docs/text/columnFormat/\n\n##### Custom title format\nFor more information: http://arshaw.com/fullcalendar/docs/text/titleFormat/\n\n##### Label\nCaption used for the 'calendar view' button. For more information: http://fullcalendar.io/docs/text/buttonText/\n\n#### Agenda Axis Format\nThe format of the vertical axis labels in agenda views (default h(:mm)tt)\n\n#### Slot duration\nThe time interval (in minutes) of day and week calendars. (Default: 30)\n\n#### Today button caption\nCaption on button which jumps to today. Default: Today\n\n#### All-day title caption\nThe text titling the \"all-day\" slot at the top of the calendar. Default: all-day. This option only applies to Agendaweek en AgendaDay views.\n\n#### Start time\nThe start time for each day. This property only applies to Agendaweek en AgendaDay views.\n\n#### End time\nThe end time for each day. This property only applies to Agendaweek en AgendaDay views.\n\n### View change\nThis callback will get triggered when the user changes the view, or when any of the date navigation methods are called.\n\n#### On view change\nMicroflow triggered when a new date-range is rendered, or when the view type switches.(http://fullcalendar.io/docs/display/viewRender/)\n\n#### Entity\nThe entity being passed to the on view change microflow. Reflecting the view change start and end date.\n\n#### Start date\nThe starting date of the view (fullcalendar's intervalStart of the view). E.g. first day of the month when rendering month view.\n\n#### End date\nThe end date of the view (fullcalendar's intervalEnd of the view). E.g. last day of the month when rendering month view.\n\n### Scheduler (Calendar with Scheduler)\n\nThis uses the [Scheduler premium addon](https://fullcalendar.io/scheduler/).\n\n\u003e Be aware, this is a commercial product for which you need a [License](https://fullcalendar.io/scheduler/license/), which can be obtained at the [Fullcalendar website](https://fullcalendar.io/scheduler/purchase/).\n\n#### Scheduler License Key\n\nObtain a license and insert this to use the scheduler.\n\n#### Resource Entity\n\nThe resource entity.\n\n#### Resource reference\n\nThe association from the resource to the event.\n\n#### Resource Label Title\n\nTitle of the resources column.\n\n#### Resource Title\n\nTitle of the resource.\n\n#### Group Entity\n\nThe group entity.\n\n#### Group resource reference\n\nThe path from the resource to the group\n\n#### Group title\n\nThe title of the group\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmendixlabs%2Fcalendarwidget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmendixlabs%2Fcalendarwidget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmendixlabs%2Fcalendarwidget/lists"}