HierarchicalDragAndDrop is not a constructor

3 posts, 0 answers
  1. Kiran
    Kiran avatar
    3 posts
    Member since:
    Dec 2014

    Posted 05 Apr 2018 Link to this post

    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. Plamen
    Plamen avatar
    2994 posts

    Posted 06 Apr 2018 Link to this post


    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. 

    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.
  3. Kiran
    Kiran avatar
    3 posts
    Member since:
    Dec 2014

    Posted 06 Apr 2018 in reply to Plamen Link to this post

    Thank you, that worked out! :)
Back to Top