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

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

1 Answer 159 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Junius
Top achievements
Rank 2
Junius asked on 29 Oct 2018, 01:05 AM

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.

1 Answer, 1 is accepted

Sort by
0
Accepted
Ivan Danchev
Telerik team
answered on 30 Oct 2018, 03:28 PM
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.
Tags
Scheduler
Asked by
Junius
Top achievements
Rank 2
Answers by
Ivan Danchev
Telerik team
Share this question
or