View Full Version : DnD not dragging to destination grid.

21 May 2010, 5:43 AM
Hi All,

I am trying to adopt the DnD example to my existing system, but I'm running into problems. I am convinced that the problem is in the DnD are in the code below, but I don't see anything that wrong. Can anyone of you see anything wrong?

var recurring_fees_gridDropTargetEl = Ext.getCmp('recurring_fees_grid').getView().scroller.dom;
var recurring_fees_gridDropTarget = new Ext.dd.DropTarget(recurring_fees_gridDropTargetEl, {
ddGroup : 'BillableItemsDDGroup',
notifyDrop : function(ddSource, e, data){
var records = ddSource.dragData.selections;
Ext.getCmp('recurring_fees_grid').store.sort('name', 'ASC');
return true;

22 May 2010, 4:16 PM
What debugging have you done? have you set a break point? Does it get hit?