Home Unanswered Active Tags New Question

Dynamically creating a list of items available for dropping onto the scheduler

Hello there,

I have a few items or time slots that can possibly be added to the scheduler. Once I have a datatable of items, how do I dynamically put them into a list ready for them to be dragged onto the scheduler?

Many thanks.

Asked by Ben 3 years ago.
Replies
You can generate it using Repeater control, for example.

You should only make sure that the elements that represent events (<li>, <div>) have the onmousedown attribute assigned as specified in the documentation (www.daypilot.org/daypilotcalendar-external-drag-drop.html).

See also:
Comment posted by Dan Letecky 3 years ago.
New Reply
This reply is
Your name (optional):

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