Scott-1
30 Oct 2012, 7:49 AM
Attempting to do drag and drop within a panel
I have 2 tabs
Tab 1 is an order entry form.
Tab 2 is a Grid Panel and an Merge Panel (Form Panel)
Within Tab 2 is an issue I am having and I have attached the Code of Tab 2
I want the user to be able to do dnd within the grid and also drag the item to the Merge Panel where it will display details of 2 records allowing the person to click a button and merge the records together.
My issue is I am using the example: Grid to Form but that uses the following line
var formPanelDropTargetEl = formPanel.body.dom;
my formPanel does not have access to the body and I want to control region of the Dnd could somebody help me with some direction on how to handle drag and drop out of the grid
Thanks.
I have 2 tabs
Tab 1 is an order entry form.
Tab 2 is a Grid Panel and an Merge Panel (Form Panel)
Within Tab 2 is an issue I am having and I have attached the Code of Tab 2
I want the user to be able to do dnd within the grid and also drag the item to the Merge Panel where it will display details of 2 records allowing the person to click a button and merge the records together.
My issue is I am using the example: Grid to Form but that uses the following line
var formPanelDropTargetEl = formPanel.body.dom;
my formPanel does not have access to the body and I want to control region of the Dnd could somebody help me with some direction on how to handle drag and drop out of the grid
Thanks.