Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 2.07 KB

File metadata and controls

55 lines (38 loc) · 2.07 KB
title page_title description slug canonicalLink position
Data Binding
Data Binding - TreeList - Kendo UI for Vue
Bind the Kendo UI TreeList wrapper for Vue to local data arrays or remote data services.
databinding_treelist_wrapper
1

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.

{% meta height:260 %} {% embed_file data-binding/local/main.vue preview %} {% embed_file data-binding/local/main.js %} {% endmeta %}

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]({% slug overview_treelistdatasource %}).

{% meta height:260 %} {% embed_file data-binding/remote/main.vue preview %} {% embed_file data-binding/remote/main.js %} {% endmeta %}

Using the data Method

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

{% meta height:260 %} {% embed_file data-binding/data-method/main.vue preview %} {% embed_file data-binding/data-method/main.js %} {% endmeta %}

Suggested Links