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

How can we load events month wise only when that month is selected #60

Open
vishnuvs60 opened this issue Jul 13, 2017 · 3 comments
Open

Comments

@vishnuvs60
Copy link

How can we load events(data) month wise when previous or next button is clicked.
Default I need to load only current month data. While clicking the previous or next button I need to load that months data.

@deviprsd
Copy link
Contributor

Use SetData function

@vishnuvs60
Copy link
Author

How can we clear the data? Is there any way?

@deviprsd
Copy link
Contributor

deviprsd commented Oct 3, 2017

Yes, https://github.com/codrops/Calendario/blob/master/js/jquery.calendario.js#L381, read the setData function. The second argument is a boolean, so if you do something like setData(data, true), it will clear the old data.

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

No branches or pull requests

2 participants