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

HierarchicalDragAndDrop is not a constructor

2 Answers 240 Views
Drag and Drop
This is a migrated thread and some comments may be shown as answers.
Kiran
Top achievements
Rank 1
Kiran asked on 05 Apr 2018, 11:51 AM

Recently, I have tried to minimize the size of my Kendo js file. I am only selecting elements that I have used in the application. On publishing the application I am getting this error in the console. Any idea, which dependent js files are missing.

Below the error:

kendo.all.min_latest.js:9 Uncaught TypeError: p.HierarchicalDragAndDrop is not a constructor
    at init._dragging (kendo.all.min_latest.js:9)
    at new init (kendo.all.min_latest.js:9)
    at HTMLDivElement.<anonymous> (kendo.all.min_latest.js:2)
    at Function.each (jquery.min.js:3)
    at init.each (jquery.min.js:3)
    at init.e.fn.(anonymous function) [as kendoTreeView] (http://localhost:8080/app/kendo2015/kendo.all.min_latest.js:2:2754)
    at ChartTablesTree.prepareView (chartTablesTree.js:882)
    at Worker.$thisClass.processTableColumnWorker.onmessage (chartTablesTree.js:509)

2 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 06 Apr 2018, 07:22 AM
Hi,

Such error points to the fact that 'kendo.treeview.draganddrop.min.js' file that is needed in Kendo TreeView is not included yet the drag and drop functionality is enabled. 


Regards,
Plamen
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Kiran
Top achievements
Rank 1
answered on 06 Apr 2018, 09:33 AM
Thank you, that worked out! :)
Tags
Drag and Drop
Asked by
Kiran
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Kiran
Top achievements
Rank 1
Share this question
or