fullcalendar

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,

fullcalendar: is there a way to call dayRender only after i load my events via events function

喜夏-厌秋 提交于 2019-12-20 01:55:08
问题 i'm using fullcalendar in a web application i"m building. i load my events with events function and ajax. here is my code: var ajaxData; var eventsJsonArray; var json_backgrundColor; var json_iconstring; //alert('Hello! 1!'); $(document).ready(function () { $('#calendar').fullCalendar({ header: { left: 'prev', center: 'title', right: 'next,month,agendaWeek,agendaDay' }, //custom events function to be called every time the view changes events: function (start, end, timezone, callback) { var

Problem removing event sources from FullCalendar (jQuery)

☆樱花仙子☆ 提交于 2019-12-19 19:51:47
问题 Right then, I'm using FullCalendar to display events from multiple sources, some local JSON feeds, others from Google Calendar. I've implemented a feature whereby a single calendar can be displayed / hidden when it's checkbox is true or false respectively. I'm using this code to achive it: $('#calendar_list input','#sidebar').live('click', function() { if($(this).is(":checked")==true) { // display the calendar var source = $.fullCalendar.gcalFeed("http://www.google.com/calendar/feeds/usa__en

Problem removing event sources from FullCalendar (jQuery)

白昼怎懂夜的黑 提交于 2019-12-19 19:51:23
问题 Right then, I'm using FullCalendar to display events from multiple sources, some local JSON feeds, others from Google Calendar. I've implemented a feature whereby a single calendar can be displayed / hidden when it's checkbox is true or false respectively. I'm using this code to achive it: $('#calendar_list input','#sidebar').live('click', function() { if($(this).is(":checked")==true) { // display the calendar var source = $.fullCalendar.gcalFeed("http://www.google.com/calendar/feeds/usa__en

How to customize the Data of FullCalenderBundle [Symfony4]

↘锁芯ラ 提交于 2019-12-19 12:05:28
问题 I have added a select form above the calendar to select an user and show his events(entity booking for example)on the Fullcalendar so my question is, how the data of FullCalenderBundle change by the user selected in the form? this is some of files, FullCalenderListener.php <?php namespace App\EventListener; use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\Mapping\Entity; use App\Entity\Booking; use Symfony\Component\Routing\Generator\UrlGeneratorInterface; use Symfony\Component

How to detect a click on a background event when two or more background events are on the same row in month view?

白昼怎懂夜的黑 提交于 2019-12-19 09:16:13
问题 Can't seem to find an answer to this - so thought I'd give this a shot. I have read several answers on how to detect a click of a background event. Such as this: Detect click on background event What I've found, however, is that when two ore more background events are on the same row, only the last day rendered as a background event will contain the proper CSS target to allow detection. All the previous days on that row (month view is what I'm working in) will act as regular "dayClick" events

How to adjust width and position of events in jQuery Full Calendar in week-view and day view

懵懂的女人 提交于 2019-12-19 08:34:50
问题 I am using fullcalendar in one of my Rails projects to render events on calendar. The jsfiddle shows the scenario. I am able to adjust the width but it does not modify the position of events in the same row next to each other. Is there a callback or method which would adjust the position of events when the width is modified 回答1: Take a look at this fiddle: http://jsfiddle.net/100thGear/jRFYE/ I used the eventRender callback to alter the offset of the next event(s). Hope this helps and gives

How to adjust width and position of events in jQuery Full Calendar in week-view and day view

有些话、适合烂在心里 提交于 2019-12-19 08:33:27
问题 I am using fullcalendar in one of my Rails projects to render events on calendar. The jsfiddle shows the scenario. I am able to adjust the width but it does not modify the position of events in the same row next to each other. Is there a callback or method which would adjust the position of events when the width is modified 回答1: Take a look at this fiddle: http://jsfiddle.net/100thGear/jRFYE/ I used the eventRender callback to alter the offset of the next event(s). Hope this helps and gives

How to adjust width and position of events in jQuery Full Calendar in week-view and day view

时光毁灭记忆、已成空白 提交于 2019-12-19 08:33:08
问题 I am using fullcalendar in one of my Rails projects to render events on calendar. The jsfiddle shows the scenario. I am able to adjust the width but it does not modify the position of events in the same row next to each other. Is there a callback or method which would adjust the position of events when the width is modified 回答1: Take a look at this fiddle: http://jsfiddle.net/100thGear/jRFYE/ I used the eventRender callback to alter the offset of the next event(s). Hope this helps and gives

Jquery FullCalendar change editable properties of particular event on a calendar

半腔热情 提交于 2019-12-19 08:12:50
问题 I am currently using jQuery FullCalendar to create a scheduling application. In my application I need to set editable=false only for events which is not an event created by the logged in user; whereas, the event that is created by the logged in user should have editable= true. Can any on suggest me how I could set few editable property of event in a FullCalendar as false and few events as true. 回答1: Set the master editable property to false and set the editable property of the event's that