Hi
I am using Mindfusion control and using Telerik control Drag -Drop manager. Mindfusion control is used for diagraming stuff.
It has following Hierachy
Diagram
Node ( Can be shapenode, Table node, container)
With normal shape node, using Drag-drop manager is possible. It is also possible to use Drag-Drop manger with Table nodes and container nodes.
The problem I have, Table node has one more hierachy data i.e CellItem and one can have table with rows and columns. I am able to make drag-drop operation of table node. In this case table node has function which returns me the cell row, col if I pass the point (mouse position).
With Telerik DragDrop, my sender object is "Diagram" Control and I need mouse postion which is relative to either diagram or tablenode. The mouse position avaiable in options ( CurrentDragPoint and MouseClick Point have almost same value) are not relative to either diagram or table node. How I calcuate it relative to either one of the element so i get correct row and column in tablenode.
Regards
Rajesh
I am using Mindfusion control and using Telerik control Drag -Drop manager. Mindfusion control is used for diagraming stuff.
It has following Hierachy
Diagram
Node ( Can be shapenode, Table node, container)
With normal shape node, using Drag-drop manager is possible. It is also possible to use Drag-Drop manger with Table nodes and container nodes.
The problem I have, Table node has one more hierachy data i.e CellItem and one can have table with rows and columns. I am able to make drag-drop operation of table node. In this case table node has function which returns me the cell row, col if I pass the point (mouse position).
With Telerik DragDrop, my sender object is "Diagram" Control and I need mouse postion which is relative to either diagram or tablenode. The mouse position avaiable in options ( CurrentDragPoint and MouseClick Point have almost same value) are not relative to either diagram or table node. How I calcuate it relative to either one of the element so i get correct row and column in tablenode.
Regards
Rajesh