How to copy a row and paste it into a new row added in a unbound RadGridView winform

2 posts, 0 answers
  1. fabrizio
    fabrizio avatar
    21 posts
    Member since:
    Aug 2010

    Posted 11 Jul Link to this post

    hello is it possible to copy a row and paste it into a new row added in a unbound RadGridView winform?
    I am attaching a screenshot of the RadGridView
    If it cannot be done with copy paste from keyboard or mouse, can it be done with programming?
  2. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3988 posts

    Posted 13 Jul Link to this post

      

    Hello, Fabrizio,

    By default, RadGridView allows you to copy multiple rows data and paste them to the data rows. Note that one of the data rows should be current. However, RadGridView is not supposed to perform copy/paste operation inside the new row and insert new records this way.

    However, you can easily achieve it by customizing the default paste action in the MasterGridViewTemplate.Paste method. You can refer to the following forum post demonstrating a sample approach: https://www.telerik.com/forums/paste-from-excel-in-to-add-new-row

    We already have a similar feature request logged in our feedback portal. You can track its progress, subscribe for status changes and add your comments on the following link - https://feedback.telerik.com/winforms/1372364-add-radgridview-add-paste-operation-in-the-new-row

    I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

    Regards,
    Dess | Tech Support Engineer, Sr.
    Progress Telerik

Back to Top