slotDuration not Working in scheduler

1 Answer 154 Views
Scheduler
ixen
Top achievements
Rank 1
Iron
Iron
Iron
ixen asked on 03 Sep 2021, 01:20 PM | edited on 03 Sep 2021, 01:24 PM

Hi,

 

I tried to implement slotDuration in Scheduler but that"s not working ?

I want only showing event, with X minutes duration in scheduler

Could you help me

 

Thanks

1 Answer, 1 is accepted

Sort by
0
Yanmario
Telerik team
answered on 08 Sep 2021, 08:33 AM

Hi Ixen,

Thank you for the provided local project.

The Scheduler slotDuration purpose is to change the duration of the displayed time slots and it's working as expected in the provided project.

To show events depending on the selected duration, the developer needs to filter the events provided to the scheduler based on custom business logic. Then the filtered events array can be provided back to the Scheduler to be displayed. I recommend calculating the difference between the start and end time and filtering the evens based on the selected minutes.

I hope this helps and steers you in the right direction.

Regards,
Yanmario Menev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Scheduler
Asked by
ixen
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Yanmario
Telerik team
Share this question
or