You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/assets/guide/en/gantt/introduction.md
+18-8
Original file line number
Diff line number
Diff line change
@@ -116,10 +116,7 @@ links:[
116
116
}
117
117
]
118
118
```
119
-
120
-
The value of `linkedFromTaskKey` is the unique identifier field in records. The field name of the unique identifier field defaults to `id`. If you need to modify it, you can modify it through the `taskKeyField` configuration item.
121
-
122
-
Through the `dependency.linkLineStyle` configuration item set link line style, you can customize the style of the dependencies between tasks. Through the `dependency.linkLineSelectedStyle` configuration item, you can customize the style of the dependencies between tasks when they are selected. In addition, you can dynamically create association lines. Through the `dependency.linkCreatable` configuration item, you can set whether association lines can be created.
119
+
The values of `linkedFromTaskKey` and `linkedToTaskKey` need to correspond to the unique identifier field in the `records`, with the default field name being `id`. If you need to modify it, you can do so through the `taskKeyField` configuration item.
123
120
124
121
### Interaction
125
122
@@ -201,10 +198,23 @@ In the vtable-gantt component, the main supported configurations include:
201
198
202
199
3. Dependency Line `dependency`
203
200
204
-
1. Dependencies: Through the links configuration item, you can set dependencies between tasks.
205
-
2. Link line style: You can set the link line style, including color, width, dashed line style, etc., through the linkLineStyle configuration item.
206
-
3. Link creation: Through the linkCreatable configuration item, you can set whether to allow the creation of link lines.
207
-
4. The operation style of the association line creation process: Through the linkSelectedLineStyle linkCreatingPointStyle linkCreatingLineStyle configuration items, you can set the style of the association line selection process, including color, width, dashed line style, etc.
201
+
Introduction to related configuration items for task dependencies:
202
+
203
+
-`dependency.links`:You can set the dependencies between tasks through the `dependency.links` configuration item.
204
+
205
+
-`taskKeyField`:You can set the field name of the unique identifier field for dependencies through the `taskKeyField` configuration item.
206
+
207
+
-`dependency.linkLineStyle`:You can configure the style of dependency lines, including color, width, dashed style, etc., through `dependency.linkLineStyle`.
208
+
209
+
-`dependency.linkLineSelectedStyle`:You can customize the style of dependencies when selected between tasks.
210
+
211
+
-`dependency.linkCreatable`:You can set whether association lines can be created through the `dependency.linkCreatable` configuration item.
212
+
213
+
-`dependency.linkSelectable`:You can set whether association lines can be selected through the `dependency.linkSelectable` configuration item.
214
+
215
+
-`dependency.linkDeletable`:You can set whether association lines can be deleted through the `dependency.linkDeletable` configuration item. If you want to delete association lines through the right-click menu, you can listen to the `CONTEXTMENU_DEPENDENCY_LINK` event to actively call the deleteLink interface to delete. If you configure shortcut keys `keyboardOptions.deleteLinkOnDel` or `keyboardOptions.deleteLinkOnBack` to delete association lines by pressing the 'del' or 'back' key on the keyboard.
216
+
217
+
- Operation style during the creation of association lines: You can set the style of the association line selection process, including color, width, dashed style, etc., through the `linkSelectedLineStyle``linkCreatePointStyle``linkCreatingPointStyle``linkCreatingLineStyle` configuration items.
208
218
209
219
4. Date Header Configuration `timelineHeader`
210
220
1. Custom Rendering: You can customize the rendering of date headers through the `customLayout` configuration item.
0 commit comments