New to Kendo UI for Angular? Start a free 30-day trial

Binding to Remote Data

The Gantt is agnostic as to how and when the data gets updated. Binding to remote data uses the same API as local data binding.

To bind the Gantt to remote data:

  1. Fetch the root nodes and set them as data.
  2. Declare a hasChildren function that checks if a node is expandable.
  3. Declare a fetchChildren function that retrieves the child nodes of a particular node from the remote service.

The following example demonstrates how to bind the component to asynchronous data.

View Source
Change Theme:

In this article

Not finding the help you need?