24 Aug 2011 2:00 AM #1
Unanswered: Extjs 4 drag-drop (grid as target panel) ?
I am working on ExtJs 4 (Drag n Drop). I have successfully implemented this link. But is there any way to to get the control over the component before it is dropped to second grid?
I have followed the link here wherein the target panel is a form, and I am getting the control of the component before dropping to the form. How to implement the same for the first link where the target panel is a grid?
I tried comparing the both but get error like : Uncaught TypeError: Cannot read property 'dom' of undefined
Thanks in advance!
24 Aug 2011 9:19 AM #2
You will have to post some code for someone to help you... that error is far to generic.
But have you looked at the "beforedrop" event?
- http://docs.sencha.com/ext-js/4-0/#!...ent-beforedropArthur Kay
Senior Software Engineer, Sencha Inc.
Twitter | Sencha Chicago User Group