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.

Copying column header along with column

Thread ID:





54023 Dec 27,2006 02:23 PM Dec 27,2006 11:24 PM Windows Forms 1
Tags: GridControl
Asked On December 27, 2006 02:23 PM

When I select the column header of a column, the entire column is selected. However, if I copy/paste into Excel only the data in the column gets copied, not the column header text. Is there any way to control this?



Administrator [Syncfusion]
Replied On December 27, 2006 11:24 PM

Hi Chris,

To copy headers, try setting this flag:

grid.Model.CutPaste.ClipboardFlags |= GridDragDropFlags.ColHeader;

Let us know if this is not what you needed.

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.

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.