How to refresh without clearAll ?

Hi,

I would like to know if it is possible to refresh the Gantt without the blink effect (clearAll and load), I mean something like afterinit passed in the XML like for a treegrid for example.

Regards,
Eric

Assuming gantt 2.x, you can use

dhtmlxAjax.get("some.php", function(loader){ gantt.clearAll(); gantt.parse(loader.xmlDoc.responseText); });

As there is no waiting between clearAll and parse command, the update will be immediate, without visual blinking.

Hi,

It works perfectly !

Best regards,
Eric