Create calendar schedules using jquery
See original GitHub issueVersion
v1.11.0
Current Behavior
I have included the necessary js scripts jquery.min.js (version 3.4.0) tui-code-snippet.js tui-calendar.js and tui-calendar.css and in the javascript trying to create schedules with the code snippet:
// Write example code
<div id="calendar" style="height: 800px;"></div>
<script type="text/javascript">
var cal = $('#calendar').tuiCalendar({
usageStatistics: false,
defaultView: 'month',
taskView: true,
template: {
monthGridHeader: function(model) {
var date = new Date(model.date);
var template = '<span class="tui-full-calendar-weekday-grid-date">' + date.getDate() + '</span>';
return template;
}
}
});
cal.createSchedules([
{
id: '1',
calendarId: '1',
title: 'my schedule',
category: 'time',
dueDateClass: '',
start: '2019-04-15T22:30:00+09:00',
end: '2019-04-16T22:30:00+09:00'
},
{
id: '2',
calendarId: '1',
title: 'second schedule',
category: 'time',
dueDateClass: '',
start: '2018-01-18T17:30:00+09:00',
end: '2018-01-19T17:31:00+09:00',
isReadOnly: true // schedule is read-only
}
], true);
</script>
Expected Behavior
I was expecting calendar with schedules on it. But get ‘function createSchedules not found’. How should I get access to the calendar object after its created using jquery?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
How does calendar scheduler work in jQuery? - eduCBA
The calendar scheduler is a function to create a calendar as per a daily, weekly, or monthly schedule. The calendar scheduler is a...
Read more >Free jQuery Schedule Plugins - jQueryScript.Net
A tiny jQuery scheduler plugin to create a calendar with week view where users can pick a single or multiple hours of availability...
Read more >Best jQuery scheduler and events calendar for web applications
The most popular free solution for schedule events in a web application.FullCalendar is a drag-n-drop jQuery plugin for displaying events on a full-sized ......
Read more >Modern jQuery Scheduler & Time Grid - Mobiscroll
Responsive scheduler in jQuery for mobile and desktop with a modern look & feel. Featuring daily, weekly schedule & more.
Read more >21 jQuery Calendars - Free Frontend
GC-Calendar · Event Calendar · Note App · User Calendar/Scheduler - Drag & Drop · jQuery Calendar · jQuery and Bootstrap 3/4 Year...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Not sure if it is the issue here as I’m using React, but I created 2 calendars in order to get the lib working, as follows :
I have the “Confirmé” calendar (as “confirmed”, roughly translated, I use this to check rendez-vous) and “En attente” (“On hold”, also for rendez-vous, taken but not confirmed yet).
What COULD work for you is adding this to your calendar.
@jungeun-cho Thanks for the prompt response. I’ll check on this today and let you know.