Hi,
Returning false value from onLightboxSave
How do I refresh the view of gantt bar?
[ onLightboxSave Sample ]
gantt.attachEvent("onLightboxSave", function(id, task,is_new){ if(is_new) { // insert database update ajax call ... } else { // update database update ajax call ... } // refresh code (?) return false; });
Hello, returning false from a lightbox prevents saving and leaves the lightbox opened. Usually you don’t need to refresh gantt from there, since it’s overlapped with a lightbox. Can you clarify what are you trying to do?
You can redraw data using one of these methods docs.dhtmlx.com/gantt/api__gantt … htask.html docs.dhtmlx.com/gantt/api__gantt_render.html