本文介绍了网格之间的拖放和“多重选择”控制在EXTJS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在Grid和multiiselect控件之间执行拖放功能。



我已配置为存储样本字段,并为这两个控件设置enableDragDrop:true,但是我无法在控件之间拖放。



还有其他配置需要请在两个不同的控件之间提供显示拖放的任何链接。

解决方案

重新排序多选列表框示例:



多树D& D:



Grid Drag and Drop for Reordering Rows:



我希望这些帮助。


Iam new to extjs , i need to do Drag and Drop functionality between Grid and "multiselect" control ..

i have configured to "store" with sample fields ,and set "enableDragDrop:true," for both the controls but i can't able to drag and drop between to controls..

Is there any other configuration need to be done ?..

Please provide any link showing drag and drop between 2 different controls.

解决方案

Reorder Multiselect List Box Example: http://www.java2s.com/Code/JavaScript/Ext-JS/ReorderMultiSelectlistbox.htm

Multiple Tree D&D: http://dev.sencha.com/deploy/dev/examples/tree/two-trees.html

Multiple Grid D&D: http://dev.sencha.com/deploy/dev/examples/dd/dnd_grid_to_grid.html

Grid Drag and Drop for Reordering Rows: http://www.sencha.com/forum/showthread.php?21913-SOLVED-Grid-Drag-and-Drop-reorder-rows

I hope these help.

这篇关于网格之间的拖放和“多重选择”控制在EXTJS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-02 01:32