fullcalendar

How to implement recurring event with all day set to true?

拈花ヽ惹草 提交于 2019-12-22 05:36:16
问题 I am facing an issue while implementing fullcalendar. I used fullcalendar plugin for allowing the user to add task and events and with the respective option, all day, recurring every week, every day, every month and every year. For the above-mentioned functionality, I referred two SO post Recurring Events in Full Calendar (For repeating weekly) Repeat full calendar events daily, monthly and yearly. While creating an all-day event with recurring every week I am facing an issue which was

Full calendar business hours

一世执手 提交于 2019-12-22 05:13:50
问题 I am trying to use Business hour option , but i cant able to reflect the changes. i want to display multiple business hours here is the code ; $('#calendar').fullCalendar({ header: { left: 'prev,next today', center: 'title', right: 'month,agendaWeek,agendaDay' }, defaultDate: '2014-11-12', editable: true, eventLimit: true, // allow "more" link when too many events businessHours: [ { start: '10:00', // a start time (10am in this example) end: '12:00', // an end time (12pm in this example) dow:

Title display in agendaWeek view differs based on fullcalendar js file loaded

故事扮演 提交于 2019-12-22 05:06:57
问题 In the agendaWeek view the emdash that displays between the days in the calendar title displays differently based on which fullcalendar.js I load. For example, if I load the full calendar.js file it works as it should: Feb 8 — 14, 2015 using this script tag: <script src='//cdnjs.cloudflare.com/ajax/libs/fullcalendar/2.2.7/fullcalendar.js'></script> When I try to save bandwidth by loading the minified version as fullcalendar.min.js I get the following output: Feb 8 — 14, 2015 Using the

jQuery FullCalendar not rendering

◇◆丶佛笑我妖孽 提交于 2019-12-22 03:22:27
问题 I have a working fullcalendar on my site, however, the actual calendar table doesn't show until you change the month/year or select "today". If I look at the rendered source, I see that the div around the table is empty until I press a button. <div style="position: absolute; -moz-user-select: none;" class="fc-view fc-view-month fc-grid" unselectable="on"></div> Does anyone have a clue why this is happening? 回答1: Do you have this calendar in a tab or a dialog, which is hidden from view at

FullCalendar does not render date for month and day view

北战南征 提交于 2019-12-22 01:02:31
问题 Following Data is being passed about events: [{"title":"my First Entry","start":"2016-09-27T11:47:00","end":"2016-09-27T12:47:00","allday":false}] It renders entry only in month view. eventRender is also not fired for day and week Javascript var calendar = $('#calendar').fullCalendar({ editable: false, header: { left: 'prev,next today', center: 'title', right: 'month,agendaWeek,agendaDay' }, events: "http://localhost:8000/fetch", // events: [ // { // title: 'Lunch with All', // start: new

Using fullCalendar in Django

六月ゝ 毕业季﹏ 提交于 2019-12-22 00:59:35
问题 Somewhat of a follow-up to the question posted here (Django: modifying data with user input through custom template tag?), but since asking the question I've decided to take a different approach. As you can tell I'm a newb so please go easy. I want a weekly calendar in my Django app that displays shifts in the database. Following is the Shift model. class Shift(models.Model): owner = models.ForeignKey(settings.AUTH_USER_MODEL, related_name='shifts', blank=True, null=True) # A shift may not

How to load different Event source (json) for each View?

蹲街弑〆低调 提交于 2019-12-21 22:14:21
问题 Hi i have a calendar which must load a different JSON source of events for each view. ie, A brief source for "Month" (only a max of 3 items per day cell), then more detailed sources of data for both "Day" and "Week". I was thinking i could capture when a view has loaded and based on which view, call removeEventSource() to remove the previous event source then addEventSource() to add the current view's related data and refresh. Is this the only way to do something like this? If so... how do i

eventClick change background-color

旧巷老猫 提交于 2019-12-21 21:55:03
问题 I am trying to change the "event" background-color when I click the event in FullCalendar I am trying the following - $(document).ready(function() { $('#calendar').fullCalendar({ editable: true, events: "json-events.php", eventDrop: function(event, delta) { alert(event.id); }, loading: function(bool) { if (bool) $('#loading').show(); else $('#loading').hide(); }, eventClick: function(event){ $(event.target).css('background-color','yellow'); } }); }); This however does nothing. Can this be

How do I set the date of a calendar view from another view using Jquery FullCalendar?

最后都变了- 提交于 2019-12-21 21:38:01
问题 I have 2 Jquery fullcalendar controls on my page. I want to be able to click on a day on the 1st calendar which is in 'month mode', and then set the 2nd calendar which is by default using the AgengaDay view, to the day that has been clicked on the 1st calendar? I've tried the following: $('#firstCalendar').fullCalendar({ dayClick: function (date, allDay, jsEvent, view) { $('#secondcalendary').fullCalendar('select', date, date, allDay); } }); but it doesn't seem to work 回答1: Here you go--- Its

FullCalendar: events not rendering initially from function call (AJAX)

浪尽此生 提交于 2019-12-21 21:14:04
问题 I've configured my FullCalendar to pull its events from an AJAX request, but they don't render on the calendar when the page is first loaded. $(document).ready(function() { sh1client = new Array(); sh2client = new Array(); $('#sh1_cal').fullCalendar({ height: 1000, minTime:'9:00am', maxTime:'5:00pm', editable: false, events: function(start, end, callback) { $.ajax({ type: 'GET', url: 'http://localhost:8080/getEvents', dataType: 'json', success: function(reply) { console.log(reply.first);