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

    Hello,


    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 ?


     


    Thks

  • Replied 8 September 2017, 2:05 pm EST

    Hello,

    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.

    Thanks

  • Replied 8 September 2017, 2:05 pm EST

     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


    Thanks for your replie.



     

Need extra support?

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

Learn More

Forum Channels