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

Passing Data to OnEventMove with e.Data

Asked by David
9 years ago.

The EventMoveArgs has a property called Data, which the intellisense indicates if for custom data. I need to pass an additional parameter other than the traditional Id, NewStart and NewEnd with the Callback to OnEventMove. How can I do this?

Answer posted by Dan Letecky [DayPilot]
9 years ago.

e.Data holds custom data sent from the client side when invoking the EventMove event manually using .eventMoveCallBack().

See also:
http://api.daypilot.org/daypilot-scheduler-eventmovecallback/

If you want to store custom data with the event, you should use DataTagFields to specify the db fields to be loaded and passed with the event.

See here - section 4. Custom Event Data (Tags):
http://doc.daypilot.org/scheduler/event-loading/

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