-
Notifications
You must be signed in to change notification settings - Fork 108
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 to pass dynamic JSON data for date highlight. #36
Comments
It appears there's been a pull request open since April that would allow loading from a local XML string. Not sure what the maintainer's plans are for improvements, but I'm in the same situation if I want to use this on an upcoming project. The setMonthly() function needs to be split to separate the concerns of setting up the calendar for a given month, loading events from a resource, and adding events to the calendar view. |
I've created a pull request #41 that allows for initializing the calendar with a local JSON object or XML string. |
Please provide example for initializing the calendar with a local JSON object without making Ajax call |
hi,you can change the function addEvents in monthly.js to use dynamic JSON data for date highlight. such as below.
|
I am using this calendar , it is great , just stuck at a point where i want to pass dynamic JSON through a variable not through a file URL, not be able to do this ... can you please help.
The text was updated successfully, but these errors were encountered: