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

Hide specific time row in weekview

1 Answer 208 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Massimo
Top achievements
Rank 1
Massimo asked on 03 Apr 2018, 07:18 AM

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?

 

1 Answer, 1 is accepted

Sort by
0
Neli
Telerik team
answered on 05 Apr 2018, 06:58 AM
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.
Tags
Scheduler
Asked by
Massimo
Top achievements
Rank 1
Answers by
Neli
Telerik team
Share this question
or