Skip to main content

silent

Description

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

silent: (callback: GanttCallback) => void

Parameters

  • callback - (required) function - the callback function

Example

gantt.silent(function () {
// the task will be deleted only from the client side
// the gantt won't repaint it automatically
gantt.deleteTask(id);
});

// repaint the gantt manually when ready
gantt.render();