search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

event resize javascript scheduler

Asked by Anonymous
12 years ago.

HI,

I need some help on event resize javascript,

i need to open a popup when we resize or move a event of scheduler, through javascript, i also need to know for which resource i m resizing or moving

Answer posted by Dan Letecky
12 years ago.

Please see the following documentation pages:

Look for JavaScript Handling section.

In short, you need to switch event handling to JavaScript (EventResizeHandling="JavaScript") and define custom script using EventResizeJavaScript property.

Comment posted by Anonymous
12 years ago.

thanx for quick reply,

but i need this in scheduler, i am being able to call javascript successfully on event resizing, but i need the id resource so i know tht for which id of resource i am calling this javascript,

i have tried e.resource, resource in java script but it throw a javascript or shows as undefined object

Comment posted by Dan Letecky
12 years ago.

You need to call it as a function:

e.resource()

See also:

http://api.daypilot.org/daypilot-event-resource/

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.