Hide specific time row in weekview

2 posts, 0 answers
  1. Massimo
    Massimo avatar
    31 posts
    Member since:
    Apr 2013

    Posted 03 Apr 2018 Link to this post

    Hello, I'm struggling with a small issue:
    I have a weekly grouped scheduler and I'm trying to hide the 12:00 to 14:00 time slot.
    I've tryed to hide bu css:
        .k-scheduler-content tr:nth-child(5),
        .k-scheduler-content tr:nth-child(6),
        .k-scheduler-times .k-scheduler-table tr:nth-child(5),
        .k-scheduler-times .k-scheduler-table tr:nth-child(6) {
            display:none;
        }

    I've tryed to delay the hiding in the databound event but something is not working correctly, some events are shifted in the wrong time slot and the drag&drop is not working correctly.

    Is there a easy way to hide a specific time row?

     

  2. Neli
    Admin
    Neli avatar
    289 posts

    Posted 05 Apr 2018 Link to this post

    Hello Massimo,

    As you noticed, hiding of rows could lead to unexpected behavior. I am afraid that there is no available configuration that can be used in order to hide rows or slots in the Scheduler easily. For this reason if you need to have different view and slots than those that can be configured when using the Scheduler API you can implement custom view. Below you will find links to examples regarding how to implement custom views.
    -https://docs.telerik.com/kendo-ui/controls/scheduling/scheduler/how-to/custom-views/custom-todo-view
    -https://docs.telerik.com/kendo-ui/controls/scheduling/scheduler/how-to/custom-views/custom-view

    Note, that assistance related to creating custom views or extending the build-in functionality is out of the scope of our support services. Custom implementations based on use case scenarios is within the scope of the Professional Services team, so in case you decide that you need their help let us know and we will put you into contact with the team. 

    I would also suggest you to log your idea our Feedback Portal. The issues which gain more popularity could be considered for future implementation.

    Regards,
    Neli
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top