Search code examples
asp.net-mvckendo-uikendo-scheduler

kendo Scheduler Set MinorTickCount(0) is disale times but create bug when click all day date


I want to disable the time part in Scheduler. when I make .MinorTickCount(0) is hiding all the times but click event on all day date slots doesn't work fine.

when I remove the .MinorTickCount(0) then click event works fine. but I want to remove all the times. I need only all day only.

 @(Html.Kendo().Scheduler<FEWO.Web.Models.MeetingViewModel>()
.Name("scheduler")
.Date(new DateTime(2007, 12, 13))
.Selectable(true)
.AllDaySlot(true)
.MinorTickCount(0)

how can i fix this issue?


Solution

  • Basically the desired behavior is not supported out of the box and custom solution would be needed. For example you can try hiding the second table using the DataBound event as demonstrated in here