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
close icon

Copying column header along with column

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?

Thanks,

C

1 Reply

AD Administrator Syncfusion Team 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,
Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon