This example demonstrates how to parse the clipboard's data to paste rows into the grid.
For more information, please see the following KB article: A1266
See Also:
How to implement the paste from clipboard feature
Question Comments
Added By: Joe Isaac at: 2/12/2015 10:23:53 AM
Is this still the method I should follow for the latest version of the winforms gridcontrol?
Added By: Sasha (DevExpress Support) at: 2/13/2015 12:00:59 AMHello Joe,
Yes, use this example to implement the copy/paste feature.
Dear,
i need to do this with all my gridviews with datasource XPCOLLECTION, what do i have to do ?
Thanks for your support!
Hello,
To process your recent post more efficiently, I created a separate ticket on your behalf: T273510: How to implement the Copy/Paste feature with XPCollection in a grid. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.
Hi, support team!
1) Some of my columns are binded to another tables in a datasource with lookup edit, where it gets its values. While copying and pasting a row, there is a FormatException, because columns valuemember is int, display member is string. How can it be solved?
2) It also throws exception ArgumentException, when pasting empty cell of type DateTime. It is not leaving empty Datetime cell as empty in pasted row, says "String was not recognized as a valid Datetime.."
Thank you very much!
Added By: Nadezhda (DevExpress Support) at: 8/25/2015 4:56:30 AMHello,
To process your recent post more efficiently, I created a separate ticket on your behalf: While copying and pasting a row, there is a FormatException, because columns valuemember is int, display member is string. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.