Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set month and year same time #337

Closed
rameshkithsiri opened this issue Oct 11, 2018 · 2 comments
Closed

set month and year same time #337

rameshkithsiri opened this issue Oct 11, 2018 · 2 comments

Comments

@rameshkithsiri
Copy link

rameshkithsiri commented Oct 11, 2018

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
Copy link

Hello @mikegioia ,

I have one small question.

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

Thanks in advance.

@mikegioia
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants