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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Copying GroupingGrids

Thread ID:





73248 Apr 25,2008 11:26 PM UTC May 9,2008 11:15 PM UTC WinForms 1
Tags: Grouping
Rocky Tatlay
Asked On April 25, 2008 11:26 PM UTC

I have a two part question about grouping grids. I want to copy a grid with detail levels (nested grid). All I need to do is to be able to paste these results into any text editor.

1) How do I copy a highlighted portion of the grid. I would only be copying either a nested portion of the grid or a header level portion. Basically I not sure how I would obtain the ranges for this copy.
2) How do I copy the whole grid, header and detail levels. Does the grid come with this functionality? Or will I have to go through my dataset?

Sri Rajan [Syncfusion]
Replied On May 9, 2008 11:15 PM UTC

Hi ,

Thanks for your interest in Syncfusion products.

You have to use TableModel.Model.CutPaste.Copy() method to Copy the selections. Here is the code.


To Copy the headers you need to set the following flags,

To Copy data along with Row Header

this.gridGroupingControl1.TableModel.CutPaste.ClipboardFlags |= GridDragDropFlags.RowHeader;

To Copy data along with Column Header

this.gridGroupingControl1.TableModel.CutPaste.ClipboardFlags|= GridDragDropFlags.ColHeader;

To select range of cells and copy to clipboard

Please let me know if this helps.

Best Regards,


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