Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Shalini on Aug 31, 2009 05:44
open dhtmlx forum
DHTMLTREE : Multiple drag & Drop

hi Team,

Please help me in acheiving

1. if in branchtree i drop singleor multiple role from role tree it should be allowed to add under 3 level only else return false
2. if it already exists it should return false
3. the new item added on 4th level should have id like rgetId@sourceid
4. multiple selection should allow from role tree to brach tree
5. darg event should work as its working now
6. drop event on role tree should work as its working now...

Thanks & Regards
Shalini
Answer posted by Alex (support) on Aug 31, 2009 09:39

Hello, 

please check the answer  http://dhtmlx.com/docs/products/kb/index.php?s=normal&q=11332

To the if item exists you can use getAllSubItems method. It returns list of all tree ids.