Hi, I have some normal php pages which I have sometime jquery date picker on them. I would like to replace those by the mini calendar so that way, I will see what dates are already taken. Is it possible to do that?
if yes… how
tks
Seby
Hello,
you can use minicalendar with any element on the page. Although, you’ll need to include dhtmlxscheduler.js/css plus ext/dhtmlxscheduler_minical.js on each page where you use the mini calendar.
There is no built-in method for binding to input element, but you can define onclick handler for inputs and invoke the code similar to shown here
docs.dhtmlx.com/scheduler/minica … ntheheader
basically you’ll need to
- show calendar when input is clicked (scheduler.renderCalendar method)
- hide calendar when date is selected, or user clicks somewhere else on the page (scheduler.destroyCalendar)
- when the date selected - put the value into the input and hide calendar (handler property of configuration object)