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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hidden columns are copied to Clipboard

Thread ID:

Created:

Updated:

Platform:

Replies:

61862 Jun 4,2007 11:01 AM UTC Jun 5,2007 10:11 PM UTC WinForms 4
loading
Tags: GridControl
Praveen
Asked On June 4, 2007 11:01 AM UTC

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 03:42 PM UTC

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 06:43 AM UTC

Thanks Haneef, it helped me.

Praveen
Replied On June 5, 2007 07:10 AM UTC


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 10:11 PM UTC

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.

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

;