How to set row height on scheduler view


#1

Hi,
We are using dhtmlxSuite-v5.1 scheduler. is there an api call can change the row height for timeline view so we can solve the align issues between the left side name bars and the rest columns of scheduler view.

Thanks.
Wei


#2

Hi @weicai01 ,

If you mean changing height of a single row - unfortunately currently it’s not possible. We are planning to add this feature to the next release(unfortunately no ETA).

If you want to change the default height row, you can change it by changing the dy property of the timeline view, like follows:

var timeline = scheduler.matrix.timeline;
timeline.dy = 20;

Here is a demo:
http://snippet.dhtmlx.com/5/bfa018b80
(click Inc and Dec buttons)