title | page_title | description | slug | canonicalLink | position |
---|---|---|---|---|---|
Data Binding |
Data Binding - Menu - Kendo UI for Vue |
Bind the Kendo UI Menu wrapper for Vue to local data arrays or remote data services. |
databinding_menu_wrapper |
2 |
The Menu provides support for binding it to local data arrays and to remote data services.
To populate the Menu with local data, bind it to a local data array by using the Kendo UI Data Source component.
{% meta height:300 %} {% embed_file menu/binding/local/main.vue preview %} {% embed_file menu/binding/local/main.js %} {% endmeta %}
To initialize the Menu 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 menu/binding/remote/main.vue preview %} {% embed_file menu/binding/remote/main.js %} {% endmeta %}