Is it possible to show only toggle button views (day, week, month) of the scheduler?

2 posts, 1 answers
  1. Junius
    Junius avatar
    18 posts
    Member since:
    Apr 2018

    Posted 28 Oct 2018 Link to this post

    Hi, my requirement is quite simple, I just wanted to show the toggle buttons (day, week and month) of the scheduler (highlighted in red box - refer to attached image file).  I don't want to show the timeline of the scheduler as well the current date (refer to attached image file - highlighted in green box) when the scheduler initially renders in the page.  Is this doable?

    Also, when the user clicks or selects one of the toggle buttons (day, week or month); an event pop up dialog form will show to enable a user to set the desired schedule.  After that, user clicks save button, and data will be persisted back into the database.

    Any inputs is highly appreciated and, if it's doable, could you please give some configuration examples of the scheduler related to the above mentioned items.

    Thanks a lot.

  2. Answer
    Ivan Danchev
    Admin
    Ivan Danchev avatar
    2053 posts

    Posted 30 Oct 2018 Link to this post

    Hi,

    The Scheduler's navigation can be hidden through CSS:
    .k-scheduler-toolbar .k-scheduler-navigation {
      display: none;
    }

    By default clicking on the view buttons displays the respective view. If you want to open a Dialog, save data or execute other custom logic you can use the widget's navigate event, which fires when a view is selected. Here's a dojo example.

    Regards,
    Ivan Danchev
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top