9

I'd like remove the header controls from the top of the Kendo UI Scheduler control, i.e. the part outlined in red from this screenshot:

enter image description here

I just want to show one static Day view for a single day. Any ideas?

Ageonix
  • 1,693
  • 2
  • 19
  • 32
csells
  • 1,808
  • 1
  • 15
  • 17

3 Answers3

8

for all Day Slot hide

$("#scheduler").kendoScheduler({
    allDaySlot: false,
});  

for Toolbar hide:

<style>
    .k-scheduler-toolbar {
        border-width: 0 0 1px;
        display: none;
    }
</style>
Master DJon
  • 1,776
  • 2
  • 16
  • 24
Rio Stephen
  • 219
  • 1
  • 3
  • 7
3

I'm not sure how to remove all of that, but you can at least remove the All Day slot by selecting allDaySlot: false in the views collection. If you only want to show the "day" view, you would use something like this (also showing how to remove footer; same doesn't appear to work for header, though):

$("#scheduler").kendoScheduler({
    views: [ 
    { type: "day", selected: true, allDaySlot: false}
    ],
    footer: false // removes the footer
});
ssmith
  • 6,039
  • 5
  • 42
  • 70
0

Please check the information below:

  1. To remove the footer you can set the footer option to false
  2. The toolbar can be removed using CSS styles:

    .k-scheduler-toolbar { display: none; }

  3. All-day slot can be removed using the allDaySlot
Vladimir Iliev
  • 1,801
  • 15
  • 25