<Gantttasks={tasks}viewMode={view}onDateChange={onTaskChange}onTaskDelete={onTaskDelete}onProgressChange={onProgressChange}onDoubleClick={onDblClick}onClick={onClick}/> How to run example cd ./example npm install npm start Gantt Configuration ...
本地运行 git clone https://gitcode.com/gh_mirrors/ga/gantt-task-react.git cd gantt-task-react npm install gantt-task-react cd ./example npm install npm start 1. 2. 3. 4. 5. 6. 源码地址: https://gitcode.com/gh_mirrors/ga/gantt-task-react/overview...
cd ./example npm install npm start Gantt Configuration GanttProps Parameter NameTypeDescription tasks* Task Tasks array. EventOption interface Specifies gantt events. DisplayOption interface Specifies view type and display timeline language. StylingOption interface Specifies chart and global tasks styles ...
example Merge branch 'main' into add-viewmode-QuarterYear Aug 21, 2022 src Merge branch 'main' into add-viewmode-QuarterYear Aug 21, 2022 .editorconfig moved to create-react-library Aug 5, 2020 .eslintignore moved to create-react-library Aug 5, 2020 .eslintrc scroll changes + hour view...
The following code example demonstrates how to enable the predecessor in the Gantt component. index.jsx index.tsx index.html let data = [ { TaskID: 1, TaskName: 'Project Initiation', StartDate: new Date('04/02/2019'), EndDate: new Date('04/21/2019'), }, { TaskID: 2, Task...
How to run examplecd ./example npm install npm start Gantt ConfigurationGanttPropsParameter NameTypeDescription tasks* Task Tasks array. EventOption interface Specifies gantt events. DisplayOption interface Specifies view type and display timeline language. StylingOption interface Specifies chart and global...
How to run example cd ./example npm install npm start Gantt Configuration GanttProps Parameter NameTypeDescription tasks*TaskTasks array. EventOptioninterfaceSpecifies gantt events. DisplayOptioninterfaceSpecifies view type and display timeline language. ...
Imports": true, "target": "es5", "allowJs": true, "skipLibCheck": true, "strict": true, "forceConsistentCasingInFileNames": true, "resolveJsonModule": true, "isolatedModules": true, "noEmit": true }, "include": [ "src" ], "exclude": [ "node_modules", "dist", "example" ]...
"predeploy":"cd example && npm install && npm run build", "deploy":"gh-pages -d example/build" }, "peerDependencies": { "react":"^18.0.0" }, "devDependencies": { "@testing-library/jest-dom":"^5.16.4", "@testing-library/react":"^13.3.0", ...
cd ./example npm install npm start Gantt ConfigurationGanttPropsParameter NameTypeDescription tasks* Task Tasks array. EventOption interface Specifies gantt events. DisplayOption interface Specifies view type and display timeline language. StylingOption interface Specifies chart and global tasks styles...