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: components/gantt/gantt-tree/data-binding/overview.md
+14-12Lines changed: 14 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,10 +34,10 @@ The Blazor Gantt Tree provides various parameters to configure its items. Also,
34
34
| Parameter | Description |
35
35
| --- | --- |
36
36
|`EndField`| Defines the end date of a task. |
37
-
|`HasChildren`| Whether the item has children. Determines whether an expand arrow is rendered next to the item in an Expandable column. Required when loading data on-demand—if you don't set it to `true`, an expand arrow will not appear and the user will not be able to expand the item and load its children. With hierarchical data, the Gantt Tree will render the icon based on the existence of child items, but `HasChildren` will take precedence. You do not have to set or use its field unless you want to load data on demand or override the arrow for some items. |
38
-
|`Id`| A unique identifier for the item. Required only for binding to flat data. |
39
-
|`Items`| The collection of child items that will be rendered under the current item. Required only when binding to hierarchical data. |
40
-
|`ParentId`| Identifies the parent to whom the item belongs. Required only when binding to flat data. All items with the same `ParentId` will be rendered at the same level. For a root level item, `ParentId` needs to be `null`. There needs to be at least one node with a `null` value for the `ParentId`. |
37
+
|`HasChildrenField`| Whether the item has children. Determines whether an expand arrow is rendered next to the item in an Expandable column. Required when loading data ondemand—if you don't set it to `true`, an expand arrow will not appear and the user will not be able to expand the item and load its children. With hierarchical data, the Gantt Tree will render the icon based on the existence of child items, but `HasChildren` will take precedence. You do not have to set or use its field unless you want to load data on demand or override the arrow for some items. |
38
+
|`IdField`| A unique identifier for the item. Required only for binding to flat data. |
39
+
|`ItemsField`| The collection of child items that will be rendered under the current item. Required only when binding to hierarchical data. |
40
+
|`ParentIdField`| Identifies the parent to whom the item belongs. Required only when binding to flat data. All items with the same `ParentId` will be rendered at the same level. For a root level item, `ParentId` needs to be `null`. There needs to be at least one node with a `null` value for the `ParentId`. |
41
41
|`PercentCompleteField`| Defines the level of completion of a task in percentages. |
42
42
|`StartField`| Defines the start date of a task. |
43
43
|`TitleField`| Defines what's the title of a task in percentages. |
@@ -46,14 +46,16 @@ The Blazor Gantt Tree provides various parameters to configure its items. Also,
46
46
47
47
The properties of a Gantt Tree item match directly to a field of the model the treelist is bound to. Provide that relationship by providing the name of the field from which the corresponding information is to be taken. To do this, in the main `TelerikGantt` tag, use the parameters described below:
48
48
49
-
* EndField => End
50
-
* HasChildrenField => HasChildren
51
-
* IdField => Id
52
-
* ItemsField => Items
53
-
* ParentIdField => ParentId
54
-
* PercentCompleteField => PercentComplete
55
-
* StartField => Start
56
-
* TitleField => Title
49
+
| Model Field Name | Model Field Type | Gantt Parameter |
0 commit comments