New to Kendo UI for AngularStart a free 30-day trial

GanttFlatBindingDirective

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.

html
<kendo-gantt
  [kendoGanttFlatBinding]="data"
  parentIdField="parentTaskId"
  idField="id"
  [dependencies]="dependencies">
</kendo-gantt>

Selector

[kendoGanttFlatBinding]

Export Name

Accessible in templates as #kendoGanttFlatBindingInstance="kendoGanttFlatBinding"

Inputs

NameTypeDefaultDescription

kendoGanttFlatBinding

any[]

Sets the array of data to populate the Gantt.

filter

CompositeFilterDescriptor

Sets the descriptor that filters the data.

idField

string

Sets the name of the field that contains the unique identifier of the node.

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

rebind

Clears the directive cache and reloads the component data.

In this article
SelectorExport NameInputsMethods
Not finding the help you need?
Contact Support