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

PivotGridControl to Clipboard

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);


1 Reply

SR Sabaridass Ramamoorthy Syncfusion Team 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 

Live Chat Icon For mobile
Up arrow icon