Sep 11, 2013, 11:39 AM
[CLOSED] Drag and Drop Multiple Groups
I have Drag and Drop working with a single Group but trying to get the target droptarget to accept multiple groups - I am using this - which doesn't work - is there another method?
@(Html.X().DropTarget()
.Target("={#{CU_OPTIONAL_ID0}.body.dom}")
.Groups(groups => {groups.Add(new DragDropGroup("AIGroup",true));groups.Add(new DragDropGroup("CUGroup",true));})
.NotifyEnter(h => h.Fn = "fnNotifyCUPanel")
.NotifyDrop(h => h.Fn = "fnNotifyDropPanel")
)
@(Html.X().DragZone()
.Target("={#{CU_SELECT_ID1}.getEl().el}")
.Group("CUGroup")
.GetDragData(h => h.Fn = "fnGetDragData")
.GetRepairXY(h => h.Fn = "fnGetRepairXY")
)
Last edited by Daniil; Sep 26, 2013 at 7:41 AM.
Reason: [CLOSED]