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

node.js - How to mock a third-party api calls in the backend -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -