Scheduler group orientation

2 posts, 1 answers
  1. Matej
    Matej avatar
    71 posts
    Member since:
    Jun 2019

    Posted 10 Jul 2020 Link to this post

    Hi,

    For SchedulerGroup there is an option of horizontal or vertical orientation but how to set the orientation for specific view? We need a horizontal DayView but Vertical MonthView.

  2. Answer
    Stefan
    Admin
    Stefan avatar
    3039 posts

    Posted 10 Jul 2020 Link to this post

    Hello, Matej,

    This can be done by dynamically changing the orientation value based on the selected view. This can be done on the onViewChange event:

    https://www.telerik.com/kendo-react-ui/components/scheduler/api/SchedulerProps/#toc-onviewchange

    I made an example showcasing this:

    https://stackblitz.com/edit/react-zuxozp?file=app/main.jsx

    I hope this is helpful.

    Regards,
    Stefan
    Progress Telerik

Back to Top