kylestetz / CLNDR

:calendar: a jQuery calendar plugin that uses HTML templates
http://kylestetz.github.io/CLNDR/
MIT License
2.84k stars 445 forks source link

set month and year same time #337

Closed rameshkithsiri closed 5 years ago

rameshkithsiri commented 6 years ago

How to change month and year in the same time? I am currently using

calendar.setYear(year);
calendar.setMonth(month);

But i have an ajax event on doneRendering. When I change the days with above codes it loads ajax data two times. I want a function similiar to setYearAndMonth

jaydeept4f commented 5 years ago

Hello @mikegioia ,

I have one small question.

How can I setMonth() and setYear() without rendering ?

Thanks in advance.

mikegioia commented 5 years ago

@jaydeept4f The calls to setMonth() and setYear() both call render() from within them. There's no real way to do that unfortunately.