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

Copy and paste hierarchial grid data

Thread ID:

Created:

Updated:

Platform:

Replies:

79756 Feb 24,2009 04:13 PM Feb 27,2009 11:54 PM Windows Forms 5
loading
Tags: GridControl
Brian R
Asked On February 24, 2009 04:13 PM

Hey there,

I have a grouping grid control that I am using to display a listing of possible Departments. Under each Department there can be zero to many items added. I would like to have it so that if the user attempts to copy the contents of the grid that it will copy the information as it is currently shown.

That is, if all the Departments are collapsed then a copy & paste will simply result in a listing of all Departments.

If one or more of the Departments are expanded and items are being shown then a copy & paste will result in a listing of all Departments with the items from the expanded Departments being include in the appropriate spots.

The best that I have managed is to get the Department listing to copy. But if I expand any of them and display their items, the resulting copy & paste gives me a listing of Departments but where the items should be I only get blank lines.

I’ve tried searching the forums but to no avail.

Any advice you may have would be greatly appreciated.

B



Jisha Joy [Syncfusion]
Replied On February 25, 2009 07:00 AM

Hi Brian,

Please refer the browser sample in the following location that is shipped with our products.

..\\My Documents\Syncfusion\EssentialStudio\{version}\Windows\Grid.Grouping.Windows\Samples\2.0\FeaturedSamples\CutCopyPasteSample\cs


This sample allows you to perform cut, copy and paste operations with an hierarchical GridGroupingControl. In this sample, the gridgroupingcontrol is bound to an hierarchical dataset comprising of two tables. A Context Menu is associated with the grouping grid to enable the required clipboard operations.

Thank you for using Syncfusion Products.

Regards,
Jisha



Brian R
Replied On February 25, 2009 02:23 PM

I don't appear to have the sample that you mentioned. I'm using 4.2 if that has any baring.

I did look through what samples I could find and was not able to locate what I need.


Jisha Joy [Syncfusion]
Replied On February 27, 2009 03:53 AM

Hi Brian,

I have uploaded the sample here. Please refer the sample and let me know if this helps.


cs.zip

Thank you for using Syncfusion products.

Regards,
Jisha



Brian R
Replied On February 27, 2009 01:58 PM

Hi,

I tried downloading the sample from the link you provided but the link is broken.


B


Jisha Joy [Syncfusion]
Replied On February 27, 2009 11:54 PM

Hi Brian,

Sorry for the broken link. Please use the following link:

http://www.syncfusion.com/uploads/redirect.aspx?file=cs_3e406bcf.zip&team=support

Regards,
Jisha


CONFIRMATION

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.

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.

;