New to Kendo UI for Angular? Start a free 30-day trial
Binding to Remote Data
Updated over 6 months ago
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:
- Fetch the root nodes and set them as
data. - Declare a
hasChildrenfunction that checks if a node is expandable. - Declare a
fetchChildrenfunction 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.
Change Theme
Theme
Loading ...