fullcalendar

Sticky Header on Fullcalendar scheduler

那年仲夏 提交于 2021-02-19 04:29:47
问题 I am getting mad with trying to get sticky header with full calendar scheduler. I tried height: "parent" I saw a lot of posts but none of them worked. but then there are 2 scrollbars (one for the main window and one for the calendar). Is there a solution for having sticky header? Thanks 回答1: Finally it worked with something like .fc-toolbar.fc-header-toolbar { position: sticky; top: 70px; z-index: 10; background: white } .fc-head-container.fc-widget-header { position: sticky; top: 108px; z

Fullcalendar format of title of weekview

心已入冬 提交于 2021-02-16 19:35:25
问题 These days i'm working with the fullcalendar. I want to change the format of the date in the weekview. I found that many people succeeded with columnFormat: { month: 'ddd', week: 'ddd d/M', day: 'dddd d/M' }, but this one doesn't work for me. Maybe the raison is i used spanish as the language? Here is my code of calendar and what i want to do. Thank you. $('#calendar').fullCalendar({ //defaultView: 'week', locale: "es", header: { left: 'prev,next today', center: 'title', right: 'month

FullCalendar - 1 Day Vertical Resource View - Only Show Specific/Individual Dates

生来就可爱ヽ(ⅴ<●) 提交于 2021-02-11 15:24:59
问题 I am trying to set up my FullCalendar to only show specific dates when using the 1 day Vertical Resource View. For example, I want the user to only see 2020-03-22, 2020-04-12 and 2020-04-15. I can figure out how to set a date range, but not how to only show individual dates: var calendar = new Calendar(calendarEl, { defaultView: 'resourceTimeGridDay', defaultDate: '2020-03-22' visibleRange: { start: '2020-03-22', end: '2020-04-15' } }); Here is an example of the 1-day vertical resource view:

Problem moving events in fullcalendar-angular

给你一囗甜甜゛ 提交于 2021-02-11 14:01:00
问题 I'm using Fullcalendar-Angular and I'm trying to make events move from day to another but the problem is when I start pulling some event it has to be moved to the center of the cell of the new day. I want the event to be moved once the mouse enters the cell of the new day. Here are 2 pictures of what I mean .. I'm moving the event from day 16 to day 15. Moved the event slightly before the center of the cell of day 15 -- NOT activated Moved it a little further to the left -- Activated This is

How to show and hide events in Fullcalendar v5

左心房为你撑大大i 提交于 2021-02-11 13:46:28
问题 I am trying to show and hide events according to extraparam value. However it does not work as expected. Any advice would be appreciated. js: document.addEventListener('DOMContentLoaded', function() { var calendarEl = document.getElementById('calendar'); var calendar = new FullCalendar.Calendar(calendarEl, { now: '2020-07-11', scrollTime: '00:00', aspectRatio: 1.8, headerToolbar: { left: 'today prev,next', center: 'title', right: 'dayGridMonth,timeGridWeek,timeGridDay,listMonth' },

How to show and hide events in Fullcalendar v5

爷,独闯天下 提交于 2021-02-11 13:44:36
问题 I am trying to show and hide events according to extraparam value. However it does not work as expected. Any advice would be appreciated. js: document.addEventListener('DOMContentLoaded', function() { var calendarEl = document.getElementById('calendar'); var calendar = new FullCalendar.Calendar(calendarEl, { now: '2020-07-11', scrollTime: '00:00', aspectRatio: 1.8, headerToolbar: { left: 'today prev,next', center: 'title', right: 'dayGridMonth,timeGridWeek,timeGridDay,listMonth' },

customize-cra to compile node_modules for JEST

烈酒焚心 提交于 2021-02-11 12:58:22
问题 I'm trying to implement JEST in my cra but I'm facing a problem : FAIL src/App.test.js ● Test suite failed to run Jest encountered an unexpected token This usually means that you are trying to import a file which Jest cannot parse, e.g. it's not plain JavaScript. By default, if Jest sees a Babel config, it will use that to transform your files, ignoring "node_modules". Here's what you can do: • To have some of your "node_modules" files transformed, you can specify a custom

customize-cra to compile node_modules for JEST

拈花ヽ惹草 提交于 2021-02-11 12:56:26
问题 I'm trying to implement JEST in my cra but I'm facing a problem : FAIL src/App.test.js ● Test suite failed to run Jest encountered an unexpected token This usually means that you are trying to import a file which Jest cannot parse, e.g. it's not plain JavaScript. By default, if Jest sees a Babel config, it will use that to transform your files, ignoring "node_modules". Here's what you can do: • To have some of your "node_modules" files transformed, you can specify a custom

I need to display the selected date in header in fullcalendar

假如想象 提交于 2021-02-10 18:21:41
问题 Is there any way way by which the selected date can be display on the header as user clicks on date in fullcalendar angular. headerToolbar: { left: '', center: 'title', right: 'prev title next' }, As mentioned in the above short code on the centre of header toolbar instead of title i nedd to display the date selected by the user as user clicks on the dates dynamically. 来源: https://stackoverflow.com/questions/65839175/i-need-to-display-the-selected-date-in-header-in-fullcalendar

Is it possible to Remove EventSources and add them back dynamically based on View Name?

不问归期 提交于 2021-02-10 14:16:27
问题 I'm trying to set up a calendar with multiple views that are all identical except for the events displayed on each. I am able to remove EventSources by ID through the viewSkeleton Render callback - but I am unable to add an EventSource back to the calendar. Searched extensively for ways to toggle visibility and things like that - but most results are for previous versions of FullCalendar - trying to accomplish this in v4. Reduced Test Case: https://codepen.io/jacobcboe/pen/MReJep I'm actually