silent

makes all code inside it not to trigger internal events or server-side calls

void silent(function callback);

Parameters

callbackfunctionthe callback function

Example

gantt.silent(function () {
    // the task will be deleted only from the client side
    gantt.deleteTask(id);
    // forces the gantt re-rendering because default rendering won't be called 
    // from the silent method 
    gantt.render(); 
});

See also
Back to top