We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Custom copy paste function not getting invoked in C++ project

Hi,

I am working on a C++ project and I have a grid with a row containing columns with covered cells. In order to perform the copy paste operation I wrote a custom copy paste function. I initialized the function call in the initialize function of the windows form using
gridControl1->ClipboardPaste += gcnew Syncfusion::Windows::Forms::Grid::GridCutPasteEventHandler(this, &Myform::gridControl1_ClipboardPaste);

But on launching the application and performing copy paste operation on the grid my control is not going to the gridControl1_ClipboardPaste function. Can you please let me know if I am missing anything in order for this to work.

Thanks and Regards
Prashant Agarwal

1 Reply

AD Administrator Syncfusion Team October 16, 2006 06:24 AM UTC

Hi Prashant,

The Attached sample demonstrates the covered cell custom pasting in a grid. It implements the ClipboardPaste event to manually assign the cell value in a grid.

Here is a sample.
http://www.syncfusion.com/Support/user/uploads/CopyPaste_4bb54183.zip

Also refer to the below forum thread for multiple cell pasting in a virtual grid.
http://www.syncfusion.com/support/Forums/message.aspx?MessageID=44965

Let me know if you are looking something different.

Best Regards,
Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon