论坛

主页 » Alloy UI » English

组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
Hari KT
Scheduler Events
2013年2月26日 上午6:06
答复

Hari KT

等级: New Member

帖子: 2

加入日期: 2013年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
Chema Balsas
RE: Scheduler Events
2013年3月5日 上午7:27
答复

Chema Balsas

LIFERAY STAFF

等级: New Member

帖子: 4

加入日期: 2013年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
Hari KT
RE: Scheduler Events
2013年3月5日 上午9:54
答复

Hari KT

等级: New Member

帖子: 2

加入日期: 2013年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
RE: Scheduler Events
2013年3月6日 上午12:24
答复

carl hadson

等级: New Member

帖子: 1

加入日期: 2013年3月6日

最近的帖子

good
Chema Balsas
RE: Scheduler Events
2013年3月6日 上午12:29
答复

Chema Balsas

LIFERAY STAFF

等级: New Member

帖子: 4

加入日期: 2013年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