gantt height without scroll

I need the gantt with 100% height when start and after that if the user add task the gantt can use a vertical scroll. Any help. Thaks!

If you mean inner scroll - that is default behavior, you can init gantt in html container with height:100%, and gantt will take all 100% of height. When there will be more data in the gantt - inner scroll will appear.

If you need to have a page-scroll - unfortunately it is not possible

I have 100% height in my div, but when I load for first time and the gantt have a lot of information he inmediatly create the scroll and I dont want that, with a little infomation he dont create the scroll, or for example if the gantt is empty he create a really big square witg 100% height and in this case I want a little square with any information

There is no way to auto-size gantt to the amount of data. So the gantt will take the same size on the page if it has 1 or 1000 records inside. We will consider adding such functionality in next versions.