留言板
Scheduler Events
Hi ,
I am new to alloy .. I was looking at http://alloyui.com/tutorials/scheduler and found it awesome .
I searched in api, with name scheduler but didn't find any .
Wondering how I can get the events for save, edit , delete etc is coming when we drag and drop in the calendar area so I can do an ajax call and save all , or reload all the events again .
Thank you
Hari K T
I am new to alloy .. I was looking at http://alloyui.com/tutorials/scheduler and found it awesome .
I searched in api, with name scheduler but didn't find any .
Wondering how I can get the events for save, edit , delete etc is coming when we drag and drop in the calendar area so I can do an ajax call and save all , or reload all the events again .
Thank you
Hari K T
Hi Hari,
There are still no API docs for the Scheduler component.
Answering your question, I think you can listen these events from your Scheduler instance:
Additionally, you could also listen the following events from your SchedulerEventRecorder instance:
Let us know if this helps.
Cheers,
Chema
There are still no API docs for the Scheduler component.
Answering your question, I think you can listen these events from your Scheduler instance:
- drag:start
- drag:end
Additionally, you could also listen the following events from your SchedulerEventRecorder instance:
- save
- edit
- cancel
- delete
Let us know if this helps.
Cheers,
Chema
So do you think I can create API from the current github myself.
I haven't used any js api libraries myself to do it. If it was in php land, ok I know . But js . From a quick googling I noticed YUI doc can. http://yui.github.com/yuidoc/
Let me know the right tool that fits for me.
Regarding the events. I want to try how it works exactly via the events you mentioned. Right now, a bit busy so will not able to check . I will update it if I did, else you can understand I didn't .
Thank you
Hari K T
I haven't used any js api libraries myself to do it. If it was in php land, ok I know . But js . From a quick googling I noticed YUI doc can. http://yui.github.com/yuidoc/
Let me know the right tool that fits for me.
Regarding the events. I want to try how it works exactly via the events you mentioned. Right now, a bit busy so will not able to check . I will update it if I did, else you can understand I didn't .
Thank you
Hari K T
Hari KT:
So do you think I can create API from the current github myself.
I haven't used any js api libraries myself to do it. If it was in php land, ok I know . But js . From a quick googling I noticed YUI doc can. http://yui.github.com/yuidoc/
Let me know the right tool that fits for me.
I'm afraid not. As far as I can tell, the Scheduler module is not yet internally documented, so running it through YUI doc shouldn't produce any additional output, sorry.
Cheers,
Chema