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
25 days ago.

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

Answer posted by Dan Letecky [DayPilot]
24 days ago.

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

Comment posted by Roshani Mahale
24 days ago.

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

Comment posted by Dan Letecky [DayPilot]
24 days ago.

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

New Reply
This reply is
Your name (optional):