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:
- Fetch the root nodes and set them as
data
. - Declare a
hasChildren
function that checks if a node is expandable. - 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.
Change Theme
Theme
Loading ...