Перейти к основному содержимому

silent

Description

Делает весь код внутри него так, чтобы он не инициировал внутренние события или вызовы на стороне сервера

silent: (callback: GanttCallback) => void

Parameters

  • callback - (required) function - функция обратного вызова

Example

gantt.silent(function () {
// задача будет удалена только на клиентской стороне
// gantt не будет автоматически перерисован
gantt.deleteTask(id);
});

// repaint the gantt manually when ready
gantt.render();
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.