I read in other answer that it is not possible to overwrite your editDialog but I needeed different fields so this is what I did:
First of all I set editDialog: false
After that, on the appointmentDoubleClick event, I open my custom window and I set all my fields one by one with the appointment object data and everything works.
Can you suggest a better(cleaner) solution?
Now I want to do the same thing when I create a new appointment. I create my custom window in the contextMenuItemClick event (item.id=createAppointment) but here’s the problem. How can I get the start time and the end time based on my selection?