jquery - How to select multiple date ranges from Fullcalendar? -


i trying make calendar feature in user can block off multiple date ranges selecting start , end dates. thinking of using fullcalendar not sure how proceed this.

i did see examples of how block dates being selected adding check on dayclick these not deal date ranges. appreciate help, not looking entire source suggestions on how go this.

this multi-part problem. here's basic idea.

something jsfiddle.

selectable: true, select: function (start, end, jsevent, view) {     $("#calendar").fullcalendar('addeventsource', [{         start: start,         end: end,         rendering: 'background',         block: true,     }, ]);     $("#calendar").fullcalendar("unselect"); }, selectoverlap: function(event) {     return ! event.block; } 

background events optional, desired (visually).

if dragging , dropping created events desired, can use selectoverlap function in eventoverlap well.


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -