I have implemented a tab with the timelineview, but it is not rendering correctly (see attached screenshot). Based on the sample files, I have included the code snippets below, in addition to the timeline.js and ext.css files. I am not sure how to fix this issue…
.one_line {
white-space:nowrap;
overflow:hidden;
padding-top:5px; padding-left:5px;
text-align:left !important;
}
scheduler.locale.labels.timeline_tab = "Instruments" //Title for instrument timeline tab
scheduler.createTimelineView({
name: "timeline",
x_unit: "hour",
x_date: "%H:%i",
x_step: 1,
x_size: 24,
x_start: 0,
x_length: 24,
y_unit: sections,
y_property: "instrument_id",
dy: 70,
section_autoheight: false,
render:"bar"
});
<div class="dhx_cal_tab" name="day_tab" style="right:204px;"></div>
<div class="dhx_cal_tab" name="week_tab" style="right:140px;"></div>
<div class="dhx_cal_tab" name="timeline_tab" style="right:280px;"></div>
<div class="dhx_cal_tab" name="month_tab" style="right:76px;"></div>