fullcalendar

Show more than 1 day in Fullcalendar Day View

心不动则不痛 提交于 2019-12-10 16:36:46
问题 I am trying to use the Full Calendar component to show 3 days in agenda Day view or eventually using the vertical resource view. I tried using the example custom view but no luck. Is it possible to show 3 days, one below another in the day view ? I am using this constructor, but I don't want the days to be next to each other, but underneath each other. $('#calendar').fullCalendar({ defaultView: 'agendaDay', defaultDate: '2017-12-07', editable: true, selectable: true, eventLimit: true, //

How to grey out non working day in agendaDay view with arshaw fullcalendar v2.3.0

时光怂恿深爱的人放手 提交于 2019-12-10 16:00:37
问题 I am using the latest version of arshaw fullcalendar (version 2.3.0) and have a scenario where a calendar needs to show active working days and hours. Ive done this using: businessHours: { start: '08:00', end: '17:00', dow: [2,3,4,5,6,0] // Monday is not a working day }, In agendaWeek view, it clearly shows the working days with the non working days 'greyed out'. In my case, Monday But when I go to agendaDay view, Monday, which is not defined as a working day shows no greyed out sections and

Primeng schedule with Angular2 webpack

倖福魔咒の 提交于 2019-12-10 15:56:41
问题 I'm going to use Primeng schedule (http://www.primefaces.org/primeng/#/schedule) within a project based on Angular2 webpack starter(https://github.com/AngularClass/angular2-webpack-starter). Since Primeng schedule depends on fullcalendar.js which is a jQuery plugin, I try to load fullcalendar and jQuery through webpack. I follow example at here (https://github.com/cagataycivici/angular2-webpack-starter). In package.json , I added settings below to "devDependencies" "fullcalendar": "^2.7.2",

Need to display event title before event time (fullcalendar)

北慕城南 提交于 2019-12-10 15:46:23
问题 I have events that contain both the event title and event time. However, I need to have 'fc-event-title' show up first in the event, before 'fc-event-time'. Right now it's the opposite. How would I go about switching this? Any help is greatly appreciated. 回答1: User @ppumkin suggested that I edit the core javascript (fullcalendar.js), which proved to be the solution. I took the following item on line 3665: (!event.allDay && seg.isStart ? "<span class='fc-event-time'>" + htmlEscape(formatDates

fullCalendar eventClick handler does not work if editable false

落爺英雄遲暮 提交于 2019-12-10 15:20:22
问题 The jQuery fullCalendar plugin seems to have a problem in the editable mode in certain cases. If the eventClick handler is set and editable is true, than the eventClick function will not work, only the eventDrop function. If editable is set to false, the eventDrop function does not work (as expected), but the eventClick function does. I am not sure where the problem is, is it possible to use the eventClick and eventDrop handler while editable is true? Has someone encountered a similar problem

Change to basicDay view in FullCalendar if viewport is 480px or less?

一笑奈何 提交于 2019-12-10 13:27:47
问题 Is there an easy way to change the view for a user based on the current viewport size in FullCalendar? What I'd like to do is have month view on desktop, and day view if using an iPhone or mobile device. At the moment with month view all the events are squashed up on mobile. Current code: $(document).ready(function() { $("#primary #calendar").fullCalendar({ header: { left: 'prev,next', center: 'title', right: 'month,agendaWeek,agendaDay' }, timeFormat: 'h(:mm)tt', eventSources: [ { url: 'http

How to use jQuery dialog with fullcalendar select callback?

左心房为你撑大大i 提交于 2019-12-10 13:11:59
问题 I have a fundamental confusion about how jQuery, and probably javascript work. I keep having the same issue, how to pass parameters to jQuery functions so that their methods in turn can call functions using those variables. Here is my most recent example: I am using fullcalendar plugin. If I click on the calendar, it fires a callback method 'select'. The select callback is automatically given certain parameters: 'startDate' 'endDate', etc. What I want is to open a jQuery dialog to gather

How to set the business hours for fullCalender v2.2.5

久未见 提交于 2019-12-10 11:54:50
问题 I want to ensure the events displayed in the 'month view' is accordance to the event start and end date. However, I notice due to the default business hours set in fullCalendar (9am to 5pm), I am having problem to display the events in the 'month view' Problem : For example, given two events (Non all day event) as configured below: Event A >> Start Date : 7 March | Start Time : 2pm End Date : 9 March | End Time : 09:30am Event B >> Start Date : 7 March | Start Time : 2pm End Date : 9 March |

unable to drag anymore into fullcalendar when filter is applied on external events

感情迁移 提交于 2019-12-10 11:49:11
问题 I'm trying to drag events from the external events box to the fullcalendar. I recreated the issue that I face in the following CodePen: at the first time, Dragging an external event from the list into the calendar works fine. However, when I apply the filter on a book in the search input text filter books I have the following issue. Here are the steps to reproduce : 1- look for 111 in the search input that will filter to the only resulting 111 event book. 2- As you could observe that dragging

FullCalendar - list view multi-day events not grouping correctly

守給你的承諾、 提交于 2019-12-10 11:36:39
问题 I'm trying to set a FullCalendar with Month, Week, Day and List view options, and this is working fine for almost evrything, as you can see here: But, in the ListView, the first event that's a multi-day event isn't grouping with other evento between it start and end dates: I'm trying to use the code below that I get from this issue's answer: fullCalendar multi-day event start and end times (I haven't enough reputation to answer or comment there, so I'm creating this new one) events.push({