Drag and Drop from Grid to Tree issue
Thanks to jpnet for posting an example of "grid to tree drag n drop" in this thread: http://extjs.com/forum/showthread.ph...ight=drag+drop
This is exactly what i want to achieve, but i m having an issue, the grid item can't be dragged to anywhere, when i drag it, it displays a 'red stop' symbol at the top of the Grid(right over the first column name), and in Firebug, an exception message shows up when a drag event is performed. It says "a is null", i don't know what this means.
i m wondering if it's because the tree has no nodes in it? Someone can help me? Thanks!
sorry, it works when i put it straight in to the onModuleLoad method of the Entry Point class. But if i put the code in another class which extends LayoutContainer, and add this panel to the Entry Point, it failed. Is there a walkaround to achieve this?