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 column header along with column

Thread ID:





54023 Dec 27,2006 07:23 PM UTC Dec 28,2006 04:24 AM UTC WinForms 1
Tags: GridControl
Asked On December 27, 2006 07:23 PM UTC

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 28, 2006 04:24 AM UTC

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.

Please sign in to access our forum

or the page will be automatically redirected to 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