Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Javascript tree views that support multiple item drag/drop

We are currently using the ExtJS tree view in an application - a requirement has arisen requiring a user to select multiple nodes (which the tree view supports currently through a pluggable selection model) - but you can not then drag the multiple selections to another part of the tree.

Does anyone know of an ajax control (commercial or non-commercial) that supports multiple-selection drag / drop - or a example of enabling this functionality in ExtJS?

like image 499
Bittercoder Avatar asked Sep 05 '08 23:09

Bittercoder


2 Answers

Check out this post in the ExtJS forum that details how you can enable multi-select in a Javascript tree.

http://extjs.com/forum/showthread.php?t=28115

like image 108
Candidasa Avatar answered Sep 30 '22 12:09

Candidasa


Got the same issue. I just found the solution :

..new Ext.tree.TreePanel({
  ...
  selModel : new Ext.tree.MultiSelectionModel()
  ...
})
like image 22
Benoit Avatar answered Sep 30 '22 12:09

Benoit