How do I refresh gantt bar?

Hi.

I’m having trouble of custom field in dhtmlx gantt as in the following topic
viewtopic.php?f=15&t=38407&start=10

I’ve tried all the solution provided. But didn’t seems to work.

But now that I already have a solution to modify the duration in onTaskLoading event,but the gantt bar maintain as the original duration instead of the modifed one.

So how do I refresh the view of gantt bar?
I tried gantt.refresh() already, but didn’t seems to work.

Thanks.

Hello,
the methods to refresh a data items are
docs.dhtmlx.com/gantt/api__gantt … htask.html
docs.dhtmlx.com/gantt/api__gantt_render.html