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

kendo vue Setting Custom Editor shows kendoDropDownList is not a function

2 Answers 402 Views
This is a migrated thread and some comments may be shown as answers.
Kay4869
Top achievements
Rank 1
Kay4869 asked on 07 Jun 2019, 06:04 AM

We like to use dropdown inside the grid, so we using this (https://www.telerik.com/kendo-vue-ui/components/grid/editing/#toc-setting-custom-editors) example in our project we are getting this error:

 

Uncaught TypeError: $(...).appendTo(...).kendoDropDownList is not a function at VueComponent.categoryDropDownEditor (git.vue?26ca:154)

 

Could anyone help me on this?

2 Answers, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 10 Jun 2019, 10:04 AM
Hi Kay,

Try using kendo.jQuery instead of $. Like in this example: https://stackblitz.com/edit/miqngv?file=index.js

If you are using single file components the $ variable is not jQuery and this is why you might get this error. 

Regards,
Ianko
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

0
Kay4869
Top achievements
Rank 1
answered on 20 Jun 2019, 07:14 AM
Answering my own question it may helpful for someone
by adding kendo.all.min.js it working fine :)
But don't know why it wont included in default kendo vue.
Asked by
Kay4869
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Kay4869
Top achievements
Rank 1
Share this question
or