fullcalendar-2

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

Disable event creation on Weekends

别说谁变了你拦得住时间么 提交于 2019-12-12 05:29:34
问题 I am trying to use Fullcalendar for one of my leave application. I have select option enabled so that the user can select dates and apply leave on it. But I want to disable weekends from getting selected, ie it should give a alert when the user clicks on the weekends. Is it achivable? My code this.calendarOptions = { height:450, defaultDate: moment(new Date(),'YYYY-MM-DD'), editable: false, stick:true, selectable:true, eventLimit: false, // allow "more" link when too many events events: this

Disable highlight of an external event in fullcalendar

纵然是瞬间 提交于 2019-12-04 21:35:47
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 hours slot. Picture attached below So in the picture, the grayish highlighted box in red stroke Event 2