undo
The functionality is available in PRO Edition only
PRODescription
Optional. Enables executing the undo and redo actionsUsage
undo?: boolean;
Parameters
true- allows executing theundoandredoactionsfalse(default) - the ability to call theundoandredoactions is disabled
Example
import { getData } from "./common/data";
import { Gantt } from "@svar/react-gantt";
const { tasks } = getData();
export default function App() {
return <Gantt tasks={tasks} undo />;
}