# silent

### Description

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

@signature: silent: (callback: GanttCallback) =\> void

### Parameters

- `callback` - (required) *function* - the callback function

### Example

~~~jsx
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();
~~~

### Related Guides
- [Server-Side Integration](guides/server-side.md#error-handling)
