jquery scheduler horizontal scroll and grouping

0 Answers 13 Views
Scheduler
Dov
Top achievements
Rank 1
Dov asked on 05 Jan 2026, 08:46 AM
Hello,

I need to show the scheduler right to left group by date with scroll in week view.
The problem is with the horzinotal scroll that double click on a cell recognize the cell resource wrong.

the example html is attached as txt file
Skyler
Top achievements
Rank 1
commented on 07 Jan 2026, 04:47 AM

In my opinion, the error isn't in the double-click operation, but in how the scheduler translates the X-coordinate after horizontal scrolling in right-to-left mode. Without normalizing the offset according to the RTL layout, incorrect cell recognition is almost certain to occur. Polytrack
Neli
Telerik team
commented on 07 Jan 2026, 11:07 AM

Hello,

There is no built-in setting to automatically normalize X-coordinates for the RTL Scheduler with horizontal scroll. You can try customizing the event handling logic. Specifically, you can adjust the calculation of the X-coordinate in your cell click or double-click handlers. Here is a basic example of how you might approach this:

$("#scheduler").on("dblclick", ".k-scheduler-table td", function(e) {
    var scheduler = $("#scheduler").getKendoScheduler();
    var scrollLeft = scheduler.element.find(".k-scheduler-content").scrollLeft();
    var clientX = e.clientX;
    // For RTL, adjust the X coordinate based on scroll position and container width
    var containerWidth = scheduler.element.find(".k-scheduler-content").width();
    var normalizedX = containerWidth - (clientX + scrollLeft);
    // Use normalizedX to determine the correct cell/resource
    // ... your logic here ...
});

You may need to further adjust the logic depending on your exact Scheduler configuration and layout.

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

    Dov
    Top achievements
    Rank 1
    commented on 08 Jan 2026, 08:34 AM

    Thanks for your response.

    I need to use slotByPosition like so: 

    var slot = scheduler.slotByPosition(normalizedX,e.clientY);

    but the slot.groupIndex is not the right one?

    No answers yet. Maybe you can help?

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