fullcalendar

FullCalendar highlight row

限于喜欢 提交于 2020-01-02 22:36:23
问题 I'd like to highlight an arbitrary set of rows within FullCalendar using the AgendaWeek view. Since each row has it's own css class (for instance, fc-slot32), I figured this wouldn't be much of a problem. However, when I apply a background colour to this row, it messes with the calendar grid. More specifically, it removes the separating borders between days on that row. I'm unsure as to how FullCalendar actually achieves the calendar grid in the first place - does anyone know how I can

FullCalendar 2.3.0 Change day colour on hover

做~自己de王妃 提交于 2020-01-02 19:12:14
问题 I'm trying to change the day background colour on mouse hover. The hover event needs to be captured on .fc-bg .fc-day and .fc-content-skeleton .fc-day-number for this purpose. This works ok until I use background render events as allDay events, because then there is a third layer with class .fc-bg-event-skeleton which is lying on top of the other two layers. The events of the underlying elements are not fired anymore and because cells are rendered using a colspan I cannot highlight just one

Dynamically created external events not draggable

女生的网名这么多〃 提交于 2020-01-02 18:05:45
问题 I'm researching now for over a week and yet I can't drag my JSON value to external draggable divs to a Fullcalendar from Arshaw. Thanks to some help I have my json data loaded to the external divs. All looks correct, however after appending dynamically created divs to the div with 'external-events' class my events are not draggable anymore. If I add .draggable() to my newly created divs to the divs with '.external-event' class it becomes draggable but I can't drop them correctly to my

How to add angular directive to full calendar event

雨燕双飞 提交于 2020-01-02 07:08:06
问题 I'm using Angular-UI Calendar (angular version of Arshaw's fullcalendar) and on EventRender I would like to add a Angular-UI-bootstrap popover to the event element. I have tried these (using coffeescript): eventRender: (event, element) -> element.find(".fc-event-inner").wrap("<div popover='I appeared on mouse enter!' popover-title='The title.' popover-trigger='mouseenter'></div>") and eventRender: (event, element) -> element.find(".fc-event-inner").wrap($compile("<div popover='I appeared on

How to add angular directive to full calendar event

a 夏天 提交于 2020-01-02 07:07:12
问题 I'm using Angular-UI Calendar (angular version of Arshaw's fullcalendar) and on EventRender I would like to add a Angular-UI-bootstrap popover to the event element. I have tried these (using coffeescript): eventRender: (event, element) -> element.find(".fc-event-inner").wrap("<div popover='I appeared on mouse enter!' popover-title='The title.' popover-trigger='mouseenter'></div>") and eventRender: (event, element) -> element.find(".fc-event-inner").wrap($compile("<div popover='I appeared on

fullcalendar backgroundColor property

青春壹個敷衍的年華 提交于 2020-01-02 06:19:12
问题 I'm trying to add a background color to an event but with no luck. $('#calendar').fullCalendar('renderEvent', { id: 1, title: 'hello', start: selected_date, allDay: true, color: '#FF0000', backgroundColor: '#000000' }, false); Any idea why this won't work? The border color seems to work but not the backgroundColor 回答1: If you add both the stylesheets then the backgroundColor will not work. <link rel="Stylesheet" type="text/css" href="/Content/fullcalendar/fullcalendar.css" /> <link rel=

jquery Full Calendar: callback 'after' the calendar has loaded completely

杀马特。学长 韩版系。学妹 提交于 2020-01-02 01:30:32
问题 Is there a callback in Adam Shaw's jquery full calendar which is called after the calendar has rendered completely?? I want to call the clientEvents function in that call back to get all the events on the client side. I tried doing this in viewDisplay, but it is called before the events are rendered and the clientEvents returns 0 events. 回答1: Actually you can add it by yourself. Update the function render in the fullcalendar.js like this function render(inc) { if (!content) { initialRender();

jquery Full Calendar: callback 'after' the calendar has loaded completely

痞子三分冷 提交于 2020-01-02 01:30:07
问题 Is there a callback in Adam Shaw's jquery full calendar which is called after the calendar has rendered completely?? I want to call the clientEvents function in that call back to get all the events on the client side. I tried doing this in viewDisplay, but it is called before the events are rendered and the clientEvents returns 0 events. 回答1: Actually you can add it by yourself. Update the function render in the fullcalendar.js like this function render(inc) { if (!content) { initialRender();

Disable highlight of an external event in fullcalendar

丶灬走出姿态 提交于 2020-01-01 19:51:07
问题 I am using the fullcalendar jquery plugin v2.6.1. Actually, I want to prevent the highlighted option of an external events while dragging to the calendar. Is there any possible way to disable the fc-highlight from the event or any option to show the highlight on the basis of event size. I mean to say that I have an external event with start and end time e.g the event starts from 10:00 and ends at 11:00 but when I'm dragging that event to the calendar, the fc-highlight always covered the two

fullcalendar - Multiple user view [closed]

给你一囗甜甜゛ 提交于 2020-01-01 17:27:09
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . How to display multiple user events in a single page in fullcalendar group by user name? 回答1: It's not built in, but I'm doing it using the eventAfterRender method to modify the width and left position of the events based on an index value that is set in the feed generator. For example: Events from user1 have a