Hello everyone,
I have to write a demo application for the company i’m working for.
We integrate the Scheduler in Timeline View in a Backbone Application.
I ran into a strange behavior. After initialisation there is only the date header of the timeline visible, but the timeline itself is not rendering (but the divs are created). If i change the window size the timeline renders fine.
Same issue in all Browsers.
In a HTML template i inserted the div.
[code]
in the render function of the backbone model i initialize the scheduler:
[code]render: function (isSubView) {
$(this.el).html(this.template());
scheduler.config.details_on_create = true;
scheduler.config.details_on_dblclick = true;
scheduler.config.xml_date = "%Y-%m-%d %H:%i";
var container = $(that.el).find('#timeline')[0];
scheduler.createTimelineView({ .... my config .... });
scheduler.init(container, new Date(2009, 5, 30), "timeline");
scheduler.parse( ... my Data ... );
}[/code]
Has someone a idea what i’m doing wrong?
I also tried to use scheduler.updateView() after the render function.