onLightboxSave event


Returning false value from onLightboxSave

How do I refresh the view of gantt bar?

[ onLightboxSave Sample ]

gantt.attachEvent("onLightboxSave", function(id, task,is_new){

    // insert database update ajax call
    // update database update ajax call

// refresh code

return false;	

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 … htask.html