Home Unanswered Active Tags New Question

event resize javascript scheduler

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

Asked by Anonymous 11 months ago.
Replies

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.

Answer posted by Dan Letecky 11 months 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 Anonymous 11 months ago.

You need to call it as a function:

e.resource()

See also:

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

Comment posted by Dan Letecky 11 months ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java