-
7 Nov 2011 6:31 AM #1
Drag and Drop TreePanel to Grid
Drag and Drop TreePanel to Grid
I need a TreePanel agreed with a Grid with Drag and Drop, so that when you drag a node from the tree that it is a field in a table in the database to the grid is made a query and display the data in the grid, please if anyone has any idea how to do this answer me, thank you and sorry for my English.
-
9 Nov 2011 4:21 AM #2
In your TreePanel include
In you GridPanel include:Code:viewConfig: { plugins: { ddGroup: 'selDD', ptype: 'treeviewdragdrop', enableDrop: false } }
Code:viewConfig: { plugins: { ptype: 'gridviewdragdrop', ddGroup: 'selDD', enableDrag: false } }


Reply With Quote