Issue 650: my events does not render correctly
Status:  Done
Owner: ----
Closed:  Jan 2011
Reported by adde...@gmail.com, Sep 28, 2010
Hello Adam,
It is all Okay with the full calendar.
I have a big problem is that events do not render correctly.. :(
Take a look at the image please.
This is urgent. Thanks

decalage.png
9.0 KB   View   Download
Oct 7, 2010
Project Member #1 adamrs...@gmail.com
...please submit a report with a detailed description and a demonstration of the bug. This can be a link to a website or a ZIP containing a runnable HTML file. Please include everything needed to recreate the bug (JS, CSS, event JSON)...
Status: Reproducing
Oct 22, 2010
#2 adde...@gmail.com
Hello Adam,
Here is a runnable html file included in the attached zip.
the code is quite messy sorry.
It creates multiple agenda calendars in the same page.

thanks in advance
Desktop.zip
84.1 KB   Download
Jan 1, 2011
Project Member #3 adamrs...@gmail.com
thanks for posting the demo.

i've found that the problem lies in the dom manipulations you are doing after you initialize the calendar. the line...

    $('#cal_v_17').find('div.fc-agenda-body div table tr th').addClass('white11');

...and the others like it are changing the height of the rows. fullcalendar isn't smart enough to pick up on this, and the event coordinates are miscalculated.

the solution is to apply your css directly in your stylesheet. for example...

    .fc-agenda-body div table tr th {
        /* the css for white11 */
    }

...instead of manually applying the classname in javascript

hope this helps
Status: Done