# 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.



[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/gantt/data-binding/remote/source.txt)

## Suggested Links

* [Data Binding Basics](https://www.telerik.com/kendo-angular-ui-develop/components/gantt/data-binding/basics)
* [Binding to Remote Data](https://www.telerik.com/kendo-angular-ui-develop/components/gantt/data-binding/remote)
* [API Reference of the GanttComponent](https://www.telerik.com/kendo-angular-ui-develop/components/gantt/api/ganttcomponent)
