BoldDesk®Customer service software offering ticketing, live chat, and omnichannel support, starting at $49/mo. for 10 agents. Try it for free.
Hello,
Is it possible to achieve such a feat using your JavaScript (ES5) Calendar to create a 3 month calendar ?
Hello i want to achieve this while using Calendar so i can do the following shown below. I am not sure if this can be done using the Scheduler.
I am using the selected dates to create columns or remove columns depending on the users selected of d
Hello Deepak,
Any Updates on the matter ?
I thought i would wait a few more days as i know you guys are busy.
Kind Regards,
Marios
Thanks for sharing all of this content. It helped a lot.
let calendar: Calendar = new Calendar({
isMultiSelection: true,
change: changeHandler,
});
calendar.appendTo('#calendar');
|
function changeHandler(args){
var consolidatedValue = [];
if(calendar.values)
consolidatedValue.push(calendar.values);
if(calendar1.values)
consolidatedValue.push(calendar1.values);
if(calendar2.values)
consolidatedValue.push(calendar2.values);
let element: HTMLElement = document.getElementById('multiselect');
element.innerHTML = '';
for (let index: number = 0; index < consolidatedValue.length; index++) {
element.insertBefore(document.createTextNode(consolidatedValue[index]), element.childNodes[0]);
element.insertBefore(document.createElement('br'), element.childNodes[0]);
}
}
|
document.getElementById('prev').addEventListener('click',function(){
nextDate = new Date(nextDate.getFullYear(),nextDate.getMonth()-1,nextDate.getDate());
currentDate = new Date(currentDate.getFullYear(),currentDate.getMonth()-1,currentDate.getDate());
previousDate = new Date(previousDate.getFullYear(),previousDate.getMonth()-1,previousDate.getDate())
calendar.navigateTo('Month',previousDate)
calendar1.navigateTo('Month',currentDate)
calendar2.navigateTo('Month',nextDate)
})
document.getElementById('next').addEventListener('click',function(){
nextDate = new Date(nextDate.getFullYear(),nextDate.getMonth()+1,nextDate.getDate());
currentDate = new Date(currentDate.getFullYear(),currentDate.getMonth()+1,currentDate.getDate());
previousDate = new Date(previousDate.getFullYear(),previousDate.getMonth()+1,previousDate.getDate())
calendar.navigateTo('Month',previousDate)
calendar1.navigateTo('Month',currentDate)
calendar2.navigateTo('Month',nextDate)
})
|