Hello Bagestan
To capture the 'save' event you can use api.intercept() method and update-task action this way:
const MyComponent = () => {
const data = getData();
const apiRef = useRef();
useEffect(() => {
if (apiRef.current) {
apiRef.current.intercept("update-task", (data) => {
return false;
});
}
}, [apiRef.current]);
return <Willow>
<Gantt init={(api) => (apiRef.current = api)} tasks={data.tasks} />
</Willow>;
};
return false
here prevents saving a task.