![](/img/trans.png)
[英]Angular Kendo DatePicker: Select Month and Day without Year
[英]Kendo Datepicker - Append Month to Year in Navigation Pane
我也面臨同樣的問題。 我解決了問題。 希望對你有幫助
.ts ====>>
async yearCalc(){
this.now=moment().year();
debugger;
for(var i=2008;i<=this.now+5;i++)
{
this.year.push(i);
}
}
.html====>>
<kendo-dropdownlist style="width:300px;" [data]="year.reverse()" [value]="now">
</kendo-dropdownlist>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.