This is a migrated thread and some comments may be shown as answers.

Scheduler group orientation

1 Answer 152 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Matej
Top achievements
Rank 1
Veteran
Matej asked on 10 Jul 2020, 11:22 AM

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.

1 Answer, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 10 Jul 2020, 11:47 AM

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

Tags
General Discussions
Asked by
Matej
Top achievements
Rank 1
Veteran
Answers by
Stefan
Telerik team
Share this question
or