I want to Append month to year (2020) in Kendo Datepicker on left navigation pane. So the final output should be Jan-2020.
This is in Angular project.
I want to Append month to year (2020) in Kendo Datepicker on left navigation pane. So the final output should be Jan-2020.
This is in Angular project.
I also faced the same problem. I solved problem. I hope it helps you
.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>