GanttFlatBindingDirective
Directive
Binds the Gantt to an array of objects by using an ID and parent ID field to define the hierarchy.
Use this directive to handle in-memory data operations such as sorting and filtering. See example.
Definition
Package:@progress/kendo-angular-gantt
Selector:[kendoGanttFlatBinding]
Export Name:Accessible in templates as #kendoGanttFlatBindingInstance="kendoGanttFlatBinding"
Syntax:
html
<kendo-gantt
[kendoGanttFlatBinding]="data"
parentIdField="parentTaskId"
idField="id"
[dependencies]="dependencies">
</kendo-gantt>
Inputs
Sets the descriptor that filters the data.
idField
string
Sets the name of the field that contains the unique identifier of the node.
Sets the array of data to populate the Gantt.
parentIdField
string
Sets the name of the field that contains the identifier of the parent node.
sort
SortDescriptor[]
Sets the descriptors that sort the data.
Methods
Clears the directive cache and reloads the component data.