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.
Up arrow icon