This is a migrated thread and some comments may be shown as answers.

Drag items from dropdown lists

1 Answer 12 Views
This is a migrated thread and some comments may be shown as answers.
RR
Top achievements
Rank 1
RR asked on 30 Jul 2019, 05:02 AM

I have implemented a drop down list as follows.  i want to drag items from this list.  :draggable="true" :dropzone="true"

doesn't seems to trigger this. Items cannot be dragged. How to achieve this? Thank you in advance

<kendo-dropdownlist
v-model="dropdownlistValue"
:data-source="dataSourceArray"                                                     
:data-text-field="'text'"
:data-value-field="'value'"
:filter="'contains'"                  
:draggable="true"        
:dropzone="true">
</kendo-dropdownlist>
 
dataSourceArray:any []=[{ text: 'Small', value: '1' }, { text: 'Medium', value: '2' }, { text: 'Large', value: '3' },  { text: 'X-Large', value: '4' }, { text: '2X-Large', value: '5' } ];  
dropdownlistValue= "";

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 31 Jul 2019, 11:19 AM
Hello Roshan,

I'm afraid that the DropDownList does not provide a Drag and Drop functionality at all. You can use the Kendo ListBox component which do possess such a built-in feature:

https://www.telerik.com/kendo-vue-ui/components/listbox/api/ListBox/#toc-draggable

Please give it a try and let me know if you have any questions.

Regards,
Nencho
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Asked by
RR
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or