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 Reply
  • 640
    Offline posted in reply to Manikanta Vundavalli

    Hello Mani,

    If you are using Row Reordering Demo in Tree Grid Row Drag topic, could you please elaborate on how do you perform a multiple row drag? Are you attaching the rows programmatically? And when you are dragging only one row is TargetRow is consistent or not?

    In order to be able to assist you further could you please provide me with a sample or a code snippet that replicates the issues you are facing? Having a sample, which I can debug on my side, will be highly appreciated and extremely helpful for providing you with solution as soon as possible.

    Looking forward to hearing from you. 

    Regards,
    Viktor Kombov
    Entry Level Software Developer
    Infragistics, Inc.

Children