首页 > 解决方案 > 从角度 8 的剑道调度程序中删除或隐藏时间行

问题描述

如何在角度 8 中从调度程序中删除或隐藏时间行。

这是stackblitz中带有示例日期的代码:

https://stackblitz.com/edit/angular-brn2en-rtbgjt

我想删除或隐藏第二行:“11:00 AM”

标签: c#angularasp.net-coreangular8

解决方案


我想删除或隐藏第二行:“11:00 AM”

为了实现您的上述要求,您可以尝试将以下 CSS 样式应用于 Angular Scheduler 的 Kendo UI。

div.k-scheduler-timeline-month-view>div:nth-child(1)>div.k-scheduler-times>table.k-scheduler-table tr:last-child {
  display: none;
}

div.k-scheduler-header-wrap table.k-scheduler-table tr:last-child {
  display: none;
}

测试结果

在此处输入图像描述


推荐阅读