fullcalendar-4

events with rrule plugin is not updating after drag/drop on change view grid fullcalendar v4

為{幸葍}努か 提交于 2019-12-23 12:03:41
问题 The bounty expires in 3 days . Answers to this question are eligible for a +50 reputation bounty. Mark Salvania is looking for an answer from a reputable source : “Need the working coding to in jsfiddle/codepen.” I am currently working on Fullcalendar v4 with rrule plugin I have this code var calendarEl = document.getElementById('calendardemo'); var calendar = new FullCalendar.Calendar(calendarEl, { plugins: ['interaction', 'dayGrid', 'timeGrid', 'momentTimezone', 'rrule', 'list'], header: {

how to programmatically add ngBootstrap popover to element?

拈花ヽ惹草 提交于 2019-12-20 02:28:08
问题 I am currently workingon a calendar in my angular v8 application. This is the plugin I use: https://fullcalendar.io this is the component which I include in my html template: <full-calendar defaultView="dayGridMonth" [editable]="true" [eventLimit]="5" [nowIndicator]="true" [slotLabelFormat]="timeFormat" [eventTimeFormat]="timeFormat" [eventClassName]="'fc-event-brand'" [minTime]="'08:00:00'" [maxTime]="'24:00:00'" [header]="{ left: 'prev,next today', center: 'title', right: 'dayGridMonth,

How to connect Firebase to FullCalendar Vue Component

对着背影说爱祢 提交于 2019-12-18 09:37:19
问题 I am attempting to add Firebase backend to a FullCalendar Vue Component, based on the following: (https://github.com/fullcalendar/fullcalendar-example-projects/tree/master/vue). So far, I have been successful in setting up handleDateClick() method to push calendar events into Firestore. I am attempting to use a Vuefire firestore option to return stored calendar events to the calendarEvents data object. The events should then be rendered on the calendar. However, I am not seeing any stored

Fullcalendar using resources as a function with select menu

我与影子孤独终老i 提交于 2019-12-13 03:09:54
问题 Using Fullcalendar 4, I am trying to show/hide my resources using a select menu. When the user selects one of the providers from a menu, I want to only show that one resourc's events. Above my fullcalendar I have my select menu: <select id="toggle_providers_calendar" class="form-control" > <option value="1" selected>Screech Powers</option> <option value="2">Slater</option> </select> I am gathering the resources I need using an ajax call on my included fullcalendar.php page. I am storing them

Additional fields and rows in FullCalendar V4

北战南征 提交于 2019-12-13 02:55:38
问题 I'm using the latest V4 version of FullCalendar and I can't seem to be able to add additional fields like description and notes in my case. I use the daygrid view and I would like two more fields to appear. I've tried multiple options from answers here (probably for previous versions) and from the docs, including modifying the main.js from the core folder itself, where the titleHtml and timeHtml are defined (as (core.htmlEscape(eventDef.title)). I managed to add the fields or better said divs

Show slots based on data in Full Calendar day view

点点圈 提交于 2019-12-11 19:09:31
问题 I need help on showing time slots in day view in full calendar. I have this data: [ { "slot": "10:00-11:00", "available": true, "startTime": "10:00 AM", "endTime": "11:00 AM" }, { "slot": "11:00-12:00", "available": true, "startTime": "11:00 AM", "endTime": "12:00 PM" }, { "slot": "12:00-13:00", "available": true, "startTime": "12:00 PM", "endTime": "1:00 PM" }, { "slot": "13:00-14:00", "available": false, "startTime": "1:00 PM", "endTime": "2:00 PM" }, { "slot": "14:00-15:00", "available":

Fullcalendar V4 - clear all events

喜欢而已 提交于 2019-12-11 16:49:00
问题 I'm loading dynamic events from a JSON source, but each time I click a different room, I want to clear all the events prior to fetching the new ones I have attempted to clear the eventSource but to no avail var eventSource = calendar.getEventSources() eventSource.remove(); which results in an error: Uncaught TypeError: eventSource.remove is not a function I have previously been using V3, but upgraded to V4 and the documentation is a little hard to follow on how to clear the events. 回答1: You

Destroy fullcalendar on bootstrap tabs click before new calendar is initialized

巧了我就是萌 提交于 2019-12-11 12:26:39
问题 I have two tabs from bootstrap. Fullcalendar is inside the second tab which is by default hidden. So I use the onclick event to trigger the calendar_view_session function. But every time I visit that tab the new calendar appends in the same tabs. Its actually duplicating the calendar. calendar_view_session: function(){ var calendarEl = document.getElementById('calendar'); var calendar = new FullCalendar.Calendar(calendarEl, { plugins: [ 'dayGrid', 'timeGrid', 'list', 'interaction' ,

Bootstrap CSS breaks tooltip popover

流过昼夜 提交于 2019-12-11 10:14:48
问题 The event tooltip event render works fine until i add a bootstrap css Working site https://fullcalendar.io/docs/event-tooltip-demo When i add the following to the css https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css It breaks the tootips from being displayed. Here is the same demo on codepen with the css added to it https://codepen.io/ryan-ramsumair/pen/GLGpwQ?editors=0110 How can i remedy this ? 回答1: Changing : eventRender: function(info) { var tooltip = new

Fullcalendar migrate from 3.x to 4.x extraParams doesn't manipulate multiple input as array

霸气de小男生 提交于 2019-12-11 06:34:15
问题 I'm trying to migrate from fullcalendar 3.x to 4.x <select id="ids" name="ids[]" class="form-control" multiple> <option value="1" selected> Option 1</option> <option value="2"> Option 2</option> <option value="3"> Option 3</option> </select> <button type="button" id="btn-filter">Apply</button> In 3.x version the data parameter inside events are correctly managed as array: This is my FIREFOX CONSOLE: array_ids[]: 0: 1 1: 2 start: 2019-06-01T00:00:00 end: 2019-07-01T00:00:00 Piece of code: