I am using the PrimeNg calendar in my Angular7 project. by default, the calendar displays the date in 6 rows for all months, which is quite unusual. even if the last date of the selected month ends within 5 rows, 6th row displaying. How to avoid this 6th row any ideas
<p-calendar class="WorkTimeCalender" [(ngModel)]="workingDate"
[inline]="true" [disabledDays]="[0,6]" >
</p-calendar>
您可以将以下属性应用于日历以不显示第 6 行:
[showOtherMonths]="false"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.