Copy Line vs Copy Cell

3 posts, 0 answers
  1. Brent
    Brent avatar
    6 posts
    Member since:
    Jun 2012

    Posted 06 Dec 2017 Link to this post

    We upgraded Telerik winform Q3 2017 and the Right-Click copy was just getting the Cell now in the new version we are getting the entire line on a right-click copy.
    How do I get the old behavior back? Probably a simple setting that I cannot seem to find.

    Thx

  2. Brent
    Brent avatar
    6 posts
    Member since:
    Jun 2012

    Posted 06 Dec 2017 Link to this post

    Disregard I found "SelectionMode", set it to "CellSelect"

     

  3. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3005 posts

    Posted 11 Dec 2017 Link to this post

    Hello, Brent,

    Thank you for writing.  

    RadGridView copies the content of the selected cells. If you use GridViewSelectionMode.FullRowSelect, the whole row is selected. That is why you copy the content for all the cells in the row. However, if you set the RadGridView.SelectionMode property to GridViewSelectionMode.CellSelect, only the cell content will be copied.

    I hope this information helps. Should you have further questions I would be glad to help.
     Regards,
    Dess
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top