Movin the scale range


I’m currently testing the dhtmlxGantt and I display a fixed date range to my user (eg: 3 weeks) For this, I use gantt.config.start_date and gantt.config.end_date. It works fine.
From now, I want to allow my user to slide the range into the future. One week by one week.
For this, I use an event that modify the date range and fire a gantt.render().
Like this :

gantt.config.start_date = xxx;
gantt.config.end_date = xxx;

The problem is when some tasks goes out of the range, the gantt displays wrong data :
The out of range task disapear from the grid but not on the scale side. (An empty line stays)
You can try this here :
Juste click 3 times on the “>” button to see what I say.

What I’m doing wrong with this ? Is this achievable with dhtmlxGantt ?
(I dont want to relod data to preserve user modifications.)

Thanks for your help.

Sorry, it works with :

gantt.render(); gantt.refreshData();


gantt.render(); gantt.refreshData();we’ve confirmed a bug, the component shouldn’t require an additional call of refreshData in order to redraw data items correctly. It will be fixed in a next update. Thanks for reporting