Hi Polina,
Thank you so much for the response. Here are the link with data
http://snippet.dhtmlx.com/5/ad1717c7e
I tried to debug the Lib ‘dhtmlxscheduler_timeline.js’ the issue which i faced is the below part and i tried to change a bit and then i got result. But i am sure this is not good solution.
Below is the snippet which i changed for the result
- List item
I have changed evs[i] with evs.undefined[i]
-
// Sample Code
//var events_html = scheduler._timeline_get_events_html.call(this, evs[i]);
var events_html = scheduler._timeline_get_events_html.call(this, evs.undefined[i]));
if(this.fit_events){
var rendered_height = this._events_height[this.y_unit[i].key]||0;
stats.height = (rendered_height>stats.height)?rendered_height:stats.height;
stats.style_height = “height:”+stats.height+“px;”;
this._section_height[this.y_unit[i].key] = stats.height;
}
debugger;
// section 1
html+="<tr class=’"+stats.tr_className+"’ style=’"+stats.style_height+"’><td class=’"+stats.td_className+"’ style=’"+stats.style_width+" height:"+(stats.height-1)+“px;’ “+scheduler._waiAria.label(stats.td_content)+”>”+stats.td_content+"</td>";
if (this.render == “cell”){
for (var j=0; j < scheduler._cols.length; j++) {
if (scheduler._ignores[j])
html+="<td></td>";
else
html+="<td class=‘dhx_matrix_cell “+scheduler.templatesthis.name+"_cell_class"+”’ style=‘width:"+(scheduler._cols[j])+"px’><div style=‘width:auto’>"+scheduler.templatesthis.name+"_cell_value"+"</div></td>";
}
} else {
//section 2
html+="<td><div style=’"+stats.summ_width+" “+stats.style_height+” position:relative;’ class=‘dhx_matrix_line’>";
// adding events
html += events_html;
//section 3
html+="<table class=’"+stats.table_className+"’ cellpadding=‘0’ cellspacing=‘0’ style=’"+stats.summ_width+" “+stats.style_height+”’ >";
for (var j=0; j < scheduler._cols.length; j++){
if (scheduler._ignores[j])
html+="<td></td>";
else
//html+="<td class=‘dhx_matrix_cell “+scheduler.templatesthis.name+"_cell_class"+”’ style=‘width:"+(scheduler._cols[j])+"px’></td>"; AD Commented
html+="<td class=‘dhx_matrix_cell “+scheduler.templatesthis.name+"_cell_class"+”’ style=‘width:"+(scheduler._cols[j])+"px’></td>";
}
html+="</table>";
html+="</div></td>";
}
html+="</tr>";
render_stats.push(stats);
}
html += “</table>”;
this._matrix = evs;
//d.scrollTop = 0; //fix flickering in FF; disabled as it was impossible to create dnd event if scroll was used (window jumped to the top)
d.innerHTML = html;