All Components

Basic Usage

The ListBox displays a list of data that is contained in a box.

The ListBox wrapper for Vue is a client-side wrapper for the Kendo UI ListBox widget.

<div id="vueapp" class="vue-app">
    <kendo-listbox id="optional"
                   :draggable="true"
                   :connect-with="'selected'"
                   :drop-sources="['selected']"
                   :toolbar-tools="['moveUp', 'moveDown', 'transferTo', 'transferFrom', 'transferAllTo', 'transferAllFrom', 'remove']"
                   style="height:280px;">
        <option>Steven White</option>
        <option>Nancy King</option>
        <option>Nancy Davolio</option>
        <option>Robert Davolio</option>
        <option>Michael Leverling</option>
        <option>Andrew Callahan</option>
        <option>Michael Suyama</option>
    </kendo-listbox>
    <kendo-listbox id="selected"
                   :draggable="true"
                   :connect-with="'optional'"
                   :drop-sources="['optional']"
                   style="height:280px;">
    </kendo-listbox>
</div>
Vue.use(ListBoxInstaller);

new Vue({
    el: "#vueapp"
})

Installation

To initialize the Scheduler, either:

Initializing with Webpack

  1. Install Kendo UI and add a theme.

    npm install --save @progress/kendo-ui
    npm install --save @progress/kendo-theme-default
  2. Install the Kendo UI ListBox package for Vue.

    npm install --save @progress/kendo-listbox-vue-wrapper
  3. Import the Kendo UI packages to the App component. If you use the Kendo UI components more than once in your application, add all Kendo UI-related files to the main.js file. If you use the Kendo UI components once in your application, add the Kendo UI-related files the component where they will be referred.

    import '@progress/kendo-ui'
    import '@progress/kendo-theme-default/dist/all.css'
    
    import { ListBox, ListBoxInstaller } from '@progress/kendo-listbox-vue-wrapper'
    
    Vue.use(ListBoxInstaller)
    
    new Vue({
       el: '#vueapp',
       components: {
           ListBox
       }
    })

Functionality and Features

In this article