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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

PivotGridControl to Clipboard

Thread ID:





143874 Apr 8,2019 07:49 PM UTC Apr 9,2019 09:06 AM UTC WinForms 1
Tags: PivotGridControl
Asked On April 8, 2019 07:49 PM UTC

Is there a way to copy the contents of PivotGridControl to Clipboard? I've tried the following, but without result:
            var list = new GridRangeInfoList();
            pivotStorageSummary.TableControl.Model.CutPaste.CopyCellsToClipboard(list, true);
            pivotStorageSummary.TableModel.Model.CutPaste.CopyCellsToClipboard(list, true);
            pivotStorageSummary.TableModel.CutPaste.CopyCellsToClipboard(list, true);


Sabaridass Ramamoorthy [Syncfusion]
Replied On April 9, 2019 09:06 AM UTC

Hi Tipal, 
Thanks for contacting Syncfusion Support. 
We have checked your requirement- “Copy pivot grid control to clipboard” and we have prepared a simple sample to achieve your requirement. Please refer to the following code example which helps to copy the grid contents to clipboard. 
private void button1_Click(object sender, EventArgs e) 
            //To copy a particular range 
            GridRangeInfo rangeInfo = GridRangeInfo.Cells(4,4,10,10); 
            GridRangeInfoList list = new GridRangeInfoList(); 
Kindly find our working sample from below location. 
Please refer to the below KB documentation link. 

Sabaridass R 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon