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

Copying header rows along with data rows.

Copying header rows along with data rows. Hi, I am trying to copy the contents of the entire GridControl and paste to excel. All rows except the header rows get copied. I have more than one header row in the grid and would like them to be copied as well when selecting the entire grid. Who you know how? Cheers, MTK

2 Replies

AD Administrator Syncfusion Team December 17, 2003 10:11 PM UTC

To copy headers, try setting this flag: grid.Model.CutPaste.ClipboardFlags |= GridDragDropFlags.ColHeader;


MK MT Krishnan December 18, 2003 03:57 PM UTC

Thanks Clay. Appreciate your help. Cheers, MTK.

Loader.
Live Chat Icon For mobile
Up arrow icon