[英]PrimeNg calendar in angular displaying dates in 6 rows
I am using the PrimeNg calendar in my Angular7 project.我在我的 Angular7 项目中使用 PrimeNg 日历。 by default, the calendar displays the date in 6 rows for all months, which is quite unusual.默认情况下,日历将所有月份的日期显示为 6 行,这很不寻常。 even if the last date of the selected month ends within 5 rows, 6th row displaying.即使所选月份的最后日期在 5 行内结束,也会显示第 6 行。 How to avoid this 6th row any ideas如何避免第 6 行的任何想法
<p-calendar class="WorkTimeCalender" [(ngModel)]="workingDate"
[inline]="true" [disabledDays]="[0,6]" >
</p-calendar>
您可以将以下属性应用于日历以不显示第 6 行:
[showOtherMonths]="false"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.