Hi,
I have a scenario where I have to drag multiple rows from a row group A and drop them at a different location in row group B in the same tree grid and I tried to get the target row location through IDropDroppedEventArgs using the below positions
Hello Mani,
Thank you for posting in our community.
In order to ensure that your issue is addressed correctly, I will need some additional information regarding your scenario. Since it is not possible to drag more than one rows at the same time, can you please elaborate on what do you mean by dragging multiple rows? Is there a possibility that you are talking about a parent row with its children?
This information is going to be highly appreciated and will help me in my further investigation.
Looking forward to hearing from you.
Regards, Viktor KombovEntry Level Software DeveloperInfragistics, Inc.
Hello,
Yes, My scenario is talking about dragging multiple parent rows with children from different row groups and dropping into another row group so that both the parent and child items get moved to the target row group.
For Example, Consider I have six-row groups (A, B, C, D, E, F) and I have 10 nested parent-child rows in each of the row groups and I want to move 5 rows (including Parent and child from A group and 5 of the only child rows from B group) to row group D. When I drop it on the Row group D I see out of the 10 items selected the only a couple of items gets moved to the targeted D group and other items are getting moved to different groups (target row is inconsistent when calculated based on the cursor positions).Is there a way to calculate the target Row besides cursor positions?
Thank you for a quick reply and appreciate the help.
Thanks,
Mani