How to copy lines of a grid to another

Posted by: sgmicro on 8 September 2017, 2:05 pm EST

  • Posted 8 September 2017, 2:05 pm EST

    <P>I've 2 spreads with one sheet each one. I would like move some rows to on spread to the other spread. How can i do ?</P>
    <P> </P>
  • Replied 8 September 2017, 2:05 pm EST

    <p>Hello,</p><p>You would use the DoDragDrop method to start the Drag. Then your second
    Spread would need to have the AllowDrop property set to True. Then you
    can catch the DragDrop event to process the drop in the second grid
    control. There is a DragnDrop sample project installed with Spread comtrol, take a look at that sample to see the implementation of the same.</p><p>Thanks<br></p>
  • Replied 8 September 2017, 2:05 pm EST

    <P> I did not specify that I wanted to do that by program. But with drag'n drop sample i founded the response. I can use GetClip/SetClip</P>
    <P>Thanks for your replie.</P>
    <P><BR> </P>
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels