Is there any way to fill the empty week days cells(previous and next months) in mat-datepicker and mat-calendar
Asked Answered
O

1

1

I'm setting a calendar to Help users to select dates, but i want to fill the empty cells at the start of the first week with the previous and next months

I'm using the Datepicker from Angular Material.

hrer is a picture link explains more : https://i.sstatic.net/sajAq.png

Ozzy answered 1/11, 2019 at 8:44 Comment(1)
Can you provide your component code please. Are you using a library? is it a fully custom component ?Outcross
O
3

According to their API, you can't.

You need to create your own custom calendar.

Outcross answered 1/11, 2019 at 8:51 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.