Data Binding

The TreeList provides support for binding it to local data arrays and to remote data services.

Binding to Local Data Arrays

The following example demonstrates how to create a TreeList and bind it to a local data source.

Example
View Source
Edit In Stackblitz  
Change Theme:

Binding to Remote Data Services

You can bind the TreeList to a remote dataset by either:

Using the TreeListDataSource Component

The following example demonstrates how to bind the TreeList to a remote TreeListDataSource component.

Example
View Source
Edit In Stackblitz  
Change Theme:

Using the data Method

The following example demonstrates how to bind the TreeList to remote data by using the data method.

Example
View Source
Edit In Stackblitz  
Change Theme: