-
Notifications
You must be signed in to change notification settings - Fork 22
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
Event which spans over multiple days #19
Comments
Hi Tom, I think this will require some trickery. The way fullcalendar-columns displays the events is by tricking FullCalendar into drawing columns as consecutive days. Eg. a Monday with two columns is displayed by tricking FullCalendar behind the scenes into displaying a Monday and Tuesday (Monday=first col, Tue=second). In your example, the event that lasts from Monday to Tuesday would have to be displayed on the "virtual" Monday and Wednesday, but not on the virtual Tuesday (because that would be the second column of the "real" Monday). I suppose you would have to change the code so that the virtual days are reordered. Eg.: Suppose we have two columns and are displaying "real" Monday and Tuesday. Then this is currently done by tricking FC into displaying Monday, Tuesday, Wednesday, Thursday where the virtual Mon & Tues correspond to the real Monday's columns, similarly for Wed & Thurs. I think what you would have to do would be to change the order in which the virtual days are displayed to Mon, Wed, Tues, Thurs. Cheers, |
Hi Hermann, |
Sorry but I don't have time. I've given a "clue" above. I don't think there is an easy solution. It affects the entire code so I can't tell you "where in the code". Given my lack of time, I'm sorry but I really can't provide more help than that. |
Hi Hermann,
I just noticed that if an event spans over multiple days (e.g. if longer than 24 hours), the event is displayed in both columns (of the same day).
Example: http://jsfiddle.net/hzftaq8a/2/
I guess a more expected behaviour would be that the event continues in:
instead of:
I would be willing to try to fix it myself (if possible without too much work), however I have no idea where to look. Do you have any hint on what I could try?
Best regards,
Tom
The text was updated successfully, but these errors were encountered: