fullcalendar

Change Fullcalendar event source after render

安稳与你 提交于 2019-12-28 02:05:09
问题 I've been using FullCalendar v1.5.3 for a MS SharePoint replacement. I'm trying to re-render the calendar event's source. For instance, when the page loads by default this is the ajax call /calendar/events/feedTasks?start=1338094800&end=1341118800&_=1339103302326 We're using a select box to change the events source to only show tasks (pulled from different table), so after a selection the ajax call changes to: /calendar/events/feedEvents?start=1338094800&end=1341118800&_=1339103302326 This

Change Fullcalendar event source after render

别来无恙 提交于 2019-12-28 02:04:43
问题 I've been using FullCalendar v1.5.3 for a MS SharePoint replacement. I'm trying to re-render the calendar event's source. For instance, when the page loads by default this is the ajax call /calendar/events/feedTasks?start=1338094800&end=1341118800&_=1339103302326 We're using a select box to change the events source to only show tasks (pulled from different table), so after a selection the ajax call changes to: /calendar/events/feedEvents?start=1338094800&end=1341118800&_=1339103302326 This

I use fullcalendar to make the event

走远了吗. 提交于 2019-12-25 18:34:29
问题 I use fullcalendar to make the event , but there is a problem like this: fullcalendar.min.js:6 Uncaught TypeError: Cannot read property 'stripTime' of undefined js var a ='<?php echo $class_id?>' $(document).ready(function() { $('#event').fullCalendar({ header: { left: 'prev,next today', center: 'title', right: 'month,agendaWeek,agendaDay' }, allDayDefault: true, editable: false, events: { url: "events/" + a , }, }); }); 回答1: Can you provide more context? What events are being included. Most

fullcalendar background events: background color not shown in Safari / Firefox / IE

喜你入骨 提交于 2019-12-25 18:32:09
问题 I use the fullcalendar Scheduler add-on (http://fullcalendar.io/docs/scheduler/) When I use the code below, this background event is not coloured silver in Safari / Firefox /IE (no color at all...). It shows the silver color perfectly in Chrome. $('#calendar').fullCalendar({ events: [ { start: '2016-04-01 06:00', end: '2014-04-01 10:00', rendering: 'background', color: 'silver', resourceId: 1 } ] }); How can I fix this issue? Thanks in advance! Kind regards, Kim 回答1: You can set the className

FullCalendar firstDay doesn't work

流过昼夜 提交于 2019-12-25 18:28:21
问题 I am using this code <script type='text/javascript'> $(document).ready(function() { $('#calendar').fullCalendar({ firstDay: 2, eventSources: [ { url: 'data.php', type: 'POST' } ] }) }); </script> but the calendar still starts on Sunday According to their docs, I am using it right What is the problem? 回答1: It's probably an issue with your libraries. Be sure to use the latest version of fullcalendar (2.1.1) and include momentjs. <link href="//cdnjs.cloudflare.com/ajax/libs/fullcalendar/2.1.1

Use Bootstrap Modal on Fullcalendar js

落花浮王杯 提交于 2019-12-25 18:16:14
问题 I have a question, I am having a hard time to figure out a way to use bootstrap modal in fullcalendar. What I am trying to do is when you click on the event on the calendar, the modal will pop-up and provide the full name of the event and summary of the event. The following is the code I am using to generate the calendar: <cffunction name="FullCalendar"> <cfscript> var calendarid = $.getbean('content').loadby(title='Regal Events').getcontentid(); </cfscript> <cfsavecontent variable="local.str

Use Bootstrap Modal on Fullcalendar js

非 Y 不嫁゛ 提交于 2019-12-25 18:16:01
问题 I have a question, I am having a hard time to figure out a way to use bootstrap modal in fullcalendar. What I am trying to do is when you click on the event on the calendar, the modal will pop-up and provide the full name of the event and summary of the event. The following is the code I am using to generate the calendar: <cffunction name="FullCalendar"> <cfscript> var calendarid = $.getbean('content').loadby(title='Regal Events').getcontentid(); </cfscript> <cfsavecontent variable="local.str

angular2 fullcalender events are not updated when fetched from service . Http

自作多情 提交于 2019-12-25 16:55:53
问题 I'm using the fullcalendar in Angular4 with help of npm install ap-angular2-fullcalendar --save . The events which are hard coded in the component are instantly shown in the calendar. but when I fetch from service method i.e HTTP call. after receiving events I'm updating calendar events like template : <angular2-fullcalendar [options]=getCalendarOptions()>{{options | json}}></angular2-fullcalendar> getCalendarOptions() { let calendarOptions = { header: { left: '', center: 'title', right:

Refresh Events In Angular Calendar UI (Fullcalendar) With Laravel As A Backend

你离开我真会死。 提交于 2019-12-25 16:51:38
问题 I am trying to make an automated refresh calendar. I am using Calendar UI and i am getting data from my backend in this way /**Calendar Config***/ //config object $scope.uiConfig = { calendar:{ height: 500, width: 800, editable: false, //First Hour firstHour: 8, //Devide by half hour slotMinutes: 30, //default duration 01:30 defaultEventMinutes: 90, axisFormat: 'HH:mm', timeFormat: { agenda: 'H:mm{ - H:mm}' }, header:{ //Buttons center: 'month agendaWeek agendaDay', left: 'title', right:

How To Convert JSON to Java object, and vise-versa

早过忘川 提交于 2019-12-25 14:12:05
问题 I would like to populate my FullCalendar, which I have drawn on a webview, with data/ event dates stored in a database. I know that I'll have to do this via JSON. The problem is that practically all documentation I've come accross online only stop at "How To Convert JSON to Java object", and vise-versa. How about making the converted JSON/ Java object visible in the HTML/ Java class? For example, say I have a List of event/ appointment objects retrieved from a database. List<FullCalendarData>