Hi,
How do I hijack create event and hook on that and prevent default.
In the same time mark the clicked time and get date and time so I can manually create that event instead?
Hi,
How do I hijack create event and hook on that and prevent default.
In the same time mark the clicked time and get date and time so I can manually create that event instead?
Hello,
Unfortunately I am not fully understand your question.
Possibly next events could help you to solve the problem:
docs.dhtmlx.com/scheduler/api__s … event.html
docs.dhtmlx.com/scheduler/api__s … event.html
If no, please, give more info.
thanks for your reply.
What I need to do, creating event via my own javascript.
Meaning that when a user clicks on a timeslot on the calendar, no default behaviour should take place.
My own javascript, should get this event with a parameter showing which date and time is selected and create the appointment.
So what I need to accomplish is that when a user clicks on a timeslot on the calendar, I listen to that event, and get what time and date a user has chosen on the calendar. In the same time highlight that on the calendar with different color so user knows what timeslot they have chosen.
Hope that explain what I need
What i need is like is shown on this example:
docs.dhtmlx.com/scheduler/sample … reate.html
I need to implement that on a timeline view
When click on a timespan, the clicked timespan is highlighted just like in the example and I can then call a service to create the highlighted timespan and it serivce says okay, then I will create the event.