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

Multirange selecting in react disapears when you set the state of the component

Asked by Roshani Mahale
3 years ago.

Selected cells disappears when I try to store data in state variable.

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

The time range selection is not part of the Scheduler state and it will get cleared on update.

Comment posted by Roshani Mahale
3 years ago.

Thankyou for your reply. So Is there any way to get the selected Scheduler data collectively?

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

You can get the current selection using multirange.get() method:
https://api.daypilot.org/daypilot-scheduler-multirange-get/

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