Hi, we are injecting text into timeline cells. However the events often cover the text.
is it possible to dynamically increase the height of a timeline cell so the events do not cover the text? We were hoping for a setting like month_scale_height which creates additional cell height.
Hello @uxplease ,
Unfortunately, there is no way to increase the height of a single cell/row.
But you can change the height of timeline cells with the dy
property of the createTimelineView
method:
https://docs.dhtmlx.com/scheduler/api__scheduler_createtimelineview.html
In order to do this you can recreate the timeline with a new config, or change the dy
through the timeline object:
function increaseTimelineCellHeight(){
initialHeight += 10;
var timeline = scheduler.getView();
timeline.dy = initialHeight;
scheduler.setCurrentView();
}
Here is an example(click the Increase
button):
http://snippet.dhtmlx.com/5/ccf989a63