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

Scheduler Problem

4 Answers 6 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ralph
Top achievements
Rank 1
Ralph asked on 23 Dec 2013, 06:23 AM
Hi,

I tried to use the scheduler following the adaptive widget demo on mobile.
I have some questions to ask:

1. As I only want to allow user to view the schedule for one day, how would you recommend to limit that? I want to hide the controls for choosing the dates but it failed. I tried to set display:none for .k-scheduler-toolbar but there is some unexpected blank space found.

2. When I set it to editable: false, I cannot switch view. Please help provide workaround.

Thanks.

4 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 24 Dec 2013, 02:29 PM
Hi Ralph,

1. In order to prevent the user from navigating to other dates, and preserve the Scheduler layout as much as possible, you can use the following CSS rule.


#SchedulerID .k-nav-today,
#SchedulerID .k-nav-prev,
#SchedulerID .k-nav-next
{
    visibility: hidden;
}


2. This limitation was fixed shortly after the Q3 release. You can use an internal build.


Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Ralph
Top achievements
Rank 1
answered on 25 Dec 2013, 09:20 AM
Thanks!
How about if I just want to hide the Today button and have the buttons to choose view to occupy the whole div?
0
Accepted
Dimo
Telerik team
answered on 25 Dec 2013, 10:11 AM
Hi Ralph,

You can use

#scheduler > .k-scheduler-toolbar:first-child > ul:first-child
{
    display: none;
}
 
#scheduler .k-scheduler-views
{
    width: 100%;
}


Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Ralph
Top achievements
Rank 1
answered on 27 Dec 2013, 12:05 AM
Hi Dimo,

Thank you for your quick response. They work!

Ralph
Tags
General Discussions
Asked by
Ralph
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Ralph
Top achievements
Rank 1
Share this question
or