Hide column on copying

2 posts, 0 answers
  1. Dario Concilio
    Dario Concilio avatar
    172 posts
    Member since:
    Apr 2016

    Posted 07 Jun 2016 Link to this post

    I would hide a column before copy selected items.

    Generally I use first column as Icon, but I have to remove it before copying.

    How can I do?

    Is exists a specific event to use before call Copy method?

    ItemsRadGridView.ClipboardCopyMode = GridViewClipboardCopyMode.EnableAlwaysIncludeHeaderText

  2. Dess
    Dess avatar
    2100 posts

    Posted 09 Jun 2016 Link to this post

    Hello Potito,

    Thank you for writing. 

    The following help article is quite useful about handling the copy, paste and cut operations in RadGridView: http://docs.telerik.com/devtools/winforms/gridview/copy-paste-cut

    If you need to customize the copied data, you can use a similar approach as the demonstrated in this KnowledgeBase article: http://www.telerik.com/support/kb/winforms/gridview/details/copy-paste-displaymember-for-gridviewcomboboxcolumn

    I hope this information helps. Should you have further questions I would be glad to help.
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
Back to Top