Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.98 KB

File metadata and controls

39 lines (27 loc) · 1.98 KB
title page_title description slug canonicalLink position
Data Binding
Data Binding - ContextMenu - Kendo UI for Vue
Bind the Kendo UI ContextMenu wrapper for Vue to local data arrays or remote data services.
databinding_contextmenu_wrapper
3

Data Binding

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

Binding to Local Data Arrays

To populate the ContextMenu with local data, bind it to a local data array by using the Kendo UI Data Source component.

{% meta height:300 %} {% embed_file contextmenu/binding/local/main.vue preview %} {% embed_file contextmenu/binding/local/main.js %} {% endmeta %}

Binding to Remote Data Services

To initialize the ContextMenu by binding it to a remote data service, use the Kendo UI Data Source component. Remote data binding is appropriate for larger datasets, so that items are loaded on demand when displayed. You can use the DataSource for serving data from a variety of data services such as XML, JSON, and JSONP.

{% meta height:300 %} {% embed_file contextmenu/binding/remote/main.vue preview %} {% embed_file contextmenu/binding/remote/main.js %} {% endmeta %}

Suggested Links