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

Update draggable item list

Asked by Muhammad Fahim
1 year ago.

I have jquery datatable integration with scheduler. I am using datatable as external list and from there I am dragging items to scheduler for which I am using makeDraggable method. I have an edit functionality in datatable and I have to update draggable list when datatable row is updated. However I could not find any method to update draggable item list. could you please help?

Thanks!

Answer posted by Dan Letecky [DayPilot]
1 year ago.

I'm not sure what exactly you are trying to achieve, but there are several options:

1. You can remove the list item and create a new one, activating it using makeDraggable() again.
2. You can only change the properties of the existing data object (options.data - see https://api.daypilot.org/daypilot-scheduler-makedraggable/). In this case, you don't need to change anything else as the data source will be read when the dragging is started.

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