-
Notifications
You must be signed in to change notification settings - Fork 169
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
Calendario + day display #43
Comments
Display where? |
Hello , I need to render the code as follows : var codropsEvents = { The date is dynamic and I am unable to group the event under similar date. Thanks for your help. |
Yea you can do that, but it would be good if you first use the v4 of calendario available here, https://github.com/deviprsd21/Calendario. Then, you can see how this one is written, https://github.com/deviprsd21/Calendario/blob/master/js/dataTimeline.js |
Hello , As advised I have used v4 of calendario. But my issue is still the same. I want to be able to render the date and content as below : '09-03-2015' : [{content : 'Graduation Exams', allDay: true}], Is it possible with calendario ? Thanks in advance, |
Yes it is, you just didn't read the code carefully, never mind. Write it like this
You see the |
Why can we not add two day events separately like his first post and have it draw both? |
@Blacrose Because this is in a JavaScript Object format, if you try to do like the first post, the second line will override the first one. Think of it as an array, and the date is the index key, so the same key will replace it. I hope I'm clear enough? |
Also why don't you try building hash objects similar to this in ruby, and then converting them to json, it will as it should work. The |
Hello,
I need to display the day and event as below :
'24-08-2015' : 'Event 1',
'24-08-2015' : 'Event 2',
can someone please help me on the above.
Thanks
The text was updated successfully, but these errors were encountered: