留言板

Scheduler Events

thumbnail
Hari KT,修改在11 年前。

Scheduler Events

New Member 帖子: 2 加入日期: 13-2-26 最近的帖子
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
thumbnail
Chema Balsas,修改在11 年前。

RE: Scheduler Events

Regular Member 帖子: 127 加入日期: 13-2-25 最近的帖子
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:
  • 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
thumbnail
Hari KT,修改在11 年前。

RE: Scheduler Events

New Member 帖子: 2 加入日期: 13-2-26 最近的帖子
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 emoticon . 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
carl hadson,修改在11 年前。

RE: Scheduler Events

New Member 发布: 1 加入日期: 13-3-6 最近的帖子
good
thumbnail
Chema Balsas,修改在11 年前。

RE: Scheduler Events

Regular Member 帖子: 127 加入日期: 13-2-25 最近的帖子
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 emoticon . 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