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.

Hidden columns are copied to Clipboard

Thread ID:

Created:

Updated:

Platform:

Replies:

61862 Jun 4,2007 07:01 AM Jun 5,2007 06:11 PM Windows Forms 4
loading
Tags: GridControl
Praveen
Asked On June 4, 2007 07:01 AM

Hi,

My Grid consists of 5 columns in which 2 of them are hidden. When an entire grid (including column header) is highlighted and copied into an Excel spreadsheet, it shows hidden columns also.

Is there any one to guide and send me sample code to copy only visible columns in grid when highlighted.

Thanks & regards
-Praveen

haneefm [Syncfusion]
Replied On June 4, 2007 11:42 AM

Hi Praveen,

Here is forum link that discusses how you might do this and has code snippets.
http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=9906

Best regards,
Haneef

Praveen
Replied On June 5, 2007 02:43 AM

Thanks Haneef, it helped me.

Praveen
Replied On June 5, 2007 03:10 AM


Hi Haneef,

This is working fine if entire grid is selected, but if desired columns/rows (say alternate) are selected then only the last selected column/row is pasted in excel sheet. This bug raised only when I put your supplied code.

FYI: Hidden columns are not copied in this case.

Thanks and regards
-Praveen

haneefm [Syncfusion]
Replied On June 5, 2007 06:11 PM

Hi Praveen,

Here is a forum thread that modify the copy behavior in a grid.
http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=44369

Best regards,
Haneef

CONFIRMATION

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.

;