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

Update particular resources

Asked by Anonymous
3 years ago.

Is threr a way to update certain resources in the same way like the events using Scheduler.events.update()?

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

Yes, you can use row.update() method:
https://api.daypilot.org/daypilot-scheduler-rows-update/

Comment posted by Anonymous
3 years ago.

Thank you. Is there an equivalent method for adding single resource? I found only for removing: DayPilot.Row.remove()

Comment posted by Dan Letecky [DayPilot]
3 years ago.

Unfortunately, there is no method for adding new rows. I recommend adding the new resource using the resources[] array.

Adding a new resource through a direct method would only be more efficient if the new resource were added at the bottom. In all other cases, it would require a full update anyway.

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