How to select range by just two click in Scheduler Timeline

1 Answer 47 Views
DateRangePicker Grid Scheduler Timeline
ikram
Top achievements
Rank 1
Iron
ikram asked on 16 Oct 2024, 08:14 AM

Hi,

in here https://demos.telerik.com/kendo-ui/scheduler/timeline  I want to select a date range. For example, if I choose the start date, I want to select the second date only if it's greater than the first one, to form a range. I mean, I want to select the first cell, and then when I select the second cell, I want to have the range selected between them. I don't want to drag the mouse or use the Shift key to do it.

thanks

1 Answer, 1 is accepted

Sort by
1
Martin
Telerik team
answered on 18 Oct 2024, 10:06 AM

Hello, 

The requirement can't be achieved out-of-the-box, but you can implement custom logic to detect clicks on the Scheduler body, and use the select method on the second click and pass the start and end slots. A similar approach is discussed in this forum thread.

Let me know if you have any further questions.

Regards,
Martin
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.

ikram
Top achievements
Rank 1
Iron
commented on 18 Oct 2024, 11:27 AM

I think I did it thank you very much <3 
ikram
Top achievements
Rank 1
Iron
commented on 21 Oct 2024, 05:33 PM

Tags
DateRangePicker Grid Scheduler Timeline
Asked by
ikram
Top achievements
Rank 1
Iron
Answers by
Martin
Telerik team
Share this question
or