Home Unanswered Active Tags New Question

Drag and Drop

Hi All,

Is it possible to Drag and drop an item to create a new event?

Regards

AS

Asked by Anonymous 5 years ago.
Replies
Yes, absolutely.

1. You can use TimeRangeSelected event. This event is fired after a user selects a free time range using click & drag. See the documentation for time range selecting.

2. It is also possible to use EventMove event to create a "copy" functionality - new event is be created at the target location when an existing event is moved.

See the event moving documentation section. Instead of modifying the start and end time for the existing event you can create a new one using e.NewStart, e.NewEnd and e.NewColumn properties (properties of EventMoveEventArgs).
Comment posted by Dan Letecky 5 years ago.
New Reply
This reply is
Your name (optional):

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