on 10-16-2013 12:31 PM
Hi All,
I have a requirement where my DROP component need to be reusable, as it need to be embed in different components.
I am using ViewContinerUIElement to embed the reusable component, and i am able to show that drop area also.
but i am not able to trigger ON_DROP event of table UI element.
can someone guide me on this. how can i call DROP event of reusable component.
Thanks In Advance,
P$G.
Hi Prathamesh,
Take a look at demo component WDR_TEST_DRAG_AND_DROP in your system. It is an example of cross-component drag-and-drop. In the example application, if you change the scope of both the DragSourceInfo and the DropTargetInfo to global, you are able to drag-and-drop between components.
Cheers,
Amy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Amy,
Now I am able to get the DROP event, but unable to get the context node values.
i.e in first component i have two interface nodes (Which values will get drag), in second component I have one interface node (which will hold drop values).
i have used second component into first component, now ON_DROP (in Second component) it is not giving me values of two interface node of my first component.
can you suggest what I have missed.
Thanks In Advance,
P$G
Hi Prathamesh,
Let me see if I understand your scenario correctly...
You have a component DRAG with two interface nodes A and B and a component DROP with one interface node C. In DRAG, you have listed DROP as a used component because you embed a view from DROP into a view container in one of the DRAG views.
So far, DRAG is using DROP so DRAG has access to node C, but DROP is not using DRAG and so DROP does not have access to nodes A or B.
Are you saying you want component DROP to have access to nodes A and B? If yes, you need to list DRAG as a used component in DROP.
I hope I have understood your requirement.
Cheers,
Amy
User | Count |
---|---|
78 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.