render gantt in specific start date and end date

can i show the gantt area with specific start date and end date.

i already tried gantt.init(“gantt_here”, startdate, enddate); but there i can only view those timespan…but I want to see other date also.

I just want to render only those date also i also want to view all dates.

Can someone help me out?

thz…

Hello,
do you mean initial scroll position?
you can set it with following code:

gantt.init(...) var scrollX = gantt.posFromDate(new Date()); gantt.scrollTo(scrollX, 0);
docs.dhtmlx.com/gantt/api__gantt_scrollto.html