Scheduler Problem

5 posts, 2 answers
  1. Ralph
    Ralph avatar
    33 posts
    Member since:
    Oct 2012

    Posted 23 Dec 2013 Link to this post

    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.
  2. Answer
    Ralph
    Ralph avatar
    33 posts
    Member since:
    Oct 2012

    Posted 24 Dec 2013 Link to this post

    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!
  3. Ralph
    Ralph avatar
    33 posts
    Member since:
    Oct 2012

    Posted 25 Dec 2013 Link to this post

    Thanks!
    How about if I just want to hide the Today button and have the buttons to choose view to occupy the whole div?
  4. Answer
    Ralph
    Ralph avatar
    33 posts
    Member since:
    Oct 2012

    Posted 25 Dec 2013 Link to this post

    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!
  5. Ralph
    Ralph avatar
    33 posts
    Member since:
    Oct 2012

    Posted 26 Dec 2013 Link to this post

    Hi Dimo,

    Thank you for your quick response. They work!

    Ralph
Back to Top