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 Rik
1 month ago.

In react when you change a component state it will refresh the render. Normally you pass the state to the childcomponents but I can't find the correct method to do so for multi time range selecting. I tried with calling the selectTimeRange method but that method can only handle one timerange.

Basically I need to be able to pass the current selection as a property or I need to be able to set multiple timeranges with timeRangeSelect.

Or is there a other solution?

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

At this moment the time range selection is intermittent (it's not part of the state) and will get cleared during an update (which happens when the component state is changed).

Currently, the selectTimeRange() method only supports a single time range selection.

I'm checking the options - I'll keep you updated.

New Reply
This reply is
Your name (optional):