Weird behavior - refresh scheduler is changing start date based on selected event

0 Answers 60 Views
Scheduler
Hilton Pereira
Top achievements
Rank 1
Hilton Pereira asked on 14 Nov 2022, 08:21 PM | edited on 14 Nov 2022, 09:47 PM

I dont know if is a known issue but I didnt find another question about this, please let me know if it is a duplicate.

 

So, the scheduler has a refresh button, when you click it the datasource.read is triggered to load the data.

But for some reason, if you select an event and then click on refresh button, the start date will be changed to the date of the selected event and the old events will disappear due to date filter.

 

I wrote a dojo to show the issue: https://dojo.telerik.com/omIxeDUx/8

 

Reproduce steps:

- Open the dojo

- Select an event of any date greater than the first date (fixed 2022-10-10)

- Click the refresh button

- You will see that the start date changed and some events will not be shown.

 

 

EDIT

For those who have the same problem, I'm make a workaround (I dont know if will work for any context), I just remove the refresh button of the scheduler and then add a new button which onclick event will just call the datasource.read() function.

The following dojo has this work around: https://dojo.telerik.com/omIxeDUx/9

 

No answers yet. Maybe you can help?

Tags
Scheduler
Asked by
Hilton Pereira
Top achievements
Rank 1
Share this question
or