Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Patryk on Feb 05, 2009 07:46
open dhtmlx forum
Folders to Tree drag and drop

Hi!

We try to implement Folders to Tree d'n'd, but when Folders item hover over Tree box, firebug shows error:

fobj is undefined - dhtmlxtree.js (row 209)

We have:
myFolders.enableDragAndDrop(true);
myTree.enableDragAndDrop(true);
in our code. I can't find any documentation about folders -> tree d'n'd, please tell me what we need to do or point some working example :)
We use dhtmlx 1.6.

Thanks for your assistance.
Answer posted by Support on Feb 05, 2009 09:05
Unfortunately such feature ( d-n-d between folders and tree ) doesn't supported for dhtmlxSuite 1.6
Answer posted by Patryk on Feb 06, 2009 03:31
Should we upgrade Folders, Tree or both components?
Answer posted by Patryk on Feb 09, 2009 06:35
Ok, we have newest dhtmlxSuite Pro now.
Fobj problem gone but now when we drop item from Folders into Tree another error occur:

that.getItem(id)._data is not a function  - in dhtmlxfolders_drag.js (line 69)

that.getItem(id) returns dhx_folders_FICON_item object

What shoud we do in this case?
Answer posted by Alex (dhtmlx) on Feb 09, 2009 09:25

Dear Patryk,

Unfortunately, suit 2.0 also doesn't support drap-and-drop between folders and tree.