Show rows when there is no tasks


#1

hello
I set the start date and end date like this
gantt.config.show_grid = false;
gantt.config.start_date = new Date(2021, 05, 03);
gantt.config.end_date = new Date(2021, 05, 13);
it works perfectly fine.
but can the grid still showing rows and columns even though there is no tasks.
and the number of rows would be automatically determined by the height of the gannt container and the height of each row (the height of the gannt container divided by the height of each row)


#2

Hello,
There is no built-in way to do that. You need to implement a custom solution by using the Gantt API and Javascript.
I have the following example of the implementation:
http://snippet.dhtmlx.com/5/3bd1f3086

I added your feature request to our internal bug tracker. The dev team will implement it in the future, but I cannot give you any ETA.


#3

thanks, ramil ~~~~~~~~