TimeInterval problem

I have the following problem when changing the value of TimeInterval:

If TimeInterval = 30 minutes. It works ok.

SchedulerCtrl.DaysViewSettings.TimeInterval = new TimeSpan(0, 30, 0);


If TimeInterval = 35 minutes. It does not work well.

SchedulerCtrl.DaysViewSettings.TimeInterval = new TimeSpan(0, 35, 0);



3 Replies

SS SaiGanesh Sakthivel Syncfusion Team August 18, 2022 07:26 AM UTC

Hi Gerardo,


#Regarding TimeInterval property in SfScheduler

As per the implementation of SfScheduler, if a custom TimeInterval (35 minutes) is given, then the number of time slots calculated based on the given TimeInterval should result in an integer value (total minutes % timeInterval = 0), otherwise, the next immediate time interval (36 minutes) that result in integer value when divided by total minutes of a day will be considered. It is the expected behavior of SfScheduler. We have mentioned it in our UG documentation note sections. Please refer to the following link for your reference.


UG: https://help.syncfusion.com/wpf/scheduler/daysview#flexible-working-days-and-working-hours


Regards,
SaiGanesh Sakthivel



GL Gerardo Lopez Ruiz August 18, 2022 09:48 AM UTC

Thank you very much



SS SaiGanesh Sakthivel Syncfusion Team August 19, 2022 02:32 PM UTC

Hi Gerardo,


We are glad to know that the provided solution is resolved the query. Please let us know if you need any further assistance.


Regards, 

SaiGanesh Sakthivel


Loader.
Up arrow icon