Templates
The DatePicker provides options for using and customizing its templates.
To customize the cell template in the Month view, use the MonthTemplate
property. the calendar of the DatePicker loops over each cell and sets its HTML by using the month content template. you can implement a dynamic template by using the Dates
option which is passed as an argument to the month template. for the complete example, refer to the demo on customizing the templates of the DatePicker.
To modify the footer template of the DatePicker calendar, use the Footer
property. To remove the footer, set it to false
.
To modify the week column template, use the WeekNumber
property.
The dates which are out of the Min
and Max
range are rendered as empty. To change their template, use the month.empty
option.
For more information on customizing the aria-label
text, refer to the article on accessibility.