c# - 从角度 8 的剑道调度程序中删除或隐藏时间行
问题描述
如何在角度 8 中从调度程序中删除或隐藏时间行。
这是stackblitz中带有示例日期的代码:
https://stackblitz.com/edit/angular-brn2en-rtbgjt
我想删除或隐藏第二行:“11:00 AM”
解决方案
我想删除或隐藏第二行:“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;
}
测试结果
推荐阅读
- spring-boot - 使用 Spring Boot 和 Quartz 安排电子邮件
- javascript - 这种负前瞻正则表达式模式是什么意思?
- rust - 从 python 脚本内部调用时,Cargo 无法构建
- python - 我们可以让 Selenium 专注于打开的浏览器窗口吗?
- kubernetes - ConfigMap 卷未与密钥一起安装为卷
- google-ads-api - 为什么我在 Google Ads 中尝试创建新的转化操作时收到“当前客户不允许操作”?
- .htaccess - 如何更改 .htaccess 以接受阿拉伯语?
- javascript - 来自非活动选项卡中视频元素的 CanvasRenderingContext2D drawImage
- go - 指针接收器与值的方法,值和指针之间的转换
- java - 不清楚 driver.getWindowHandles() 和 driver.getWindowHandle()