Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
385
During multiple Row Drag in the same Tree Grid, How to find the Target Row?
posted

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

const cursorPositionPoint = { x: event.clientXy: event.clientY }; (found in Infragistics Row Drag Example www.infragistics.com/.../row-drag)
But however, when I try to drag multiple rows under a row group A to a different row group B the target row value is not consistent. (gets incorrect targetRow)
Note: Works fine If only one item is dragged.
Thanks,
Mani
Parents
  • 640
    Offline posted

    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 Kombov
    Entry Level Software Developer
    Infragistics, Inc.

Reply Children