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

exclude hidden columns from Ctrl-C operations?

I have a grid which contains multiple hidden columns. I want to allow a user to select a range of cells which may include one of these hidden columns (unbeknownst to the user), but I would like to exclude any data in the hidden cells when the selection is copied (Ctrl-C). I am already catching the copy command using gridControl_ClipboardCopy, but I can''t figure out how to remove my hidden columns from the rangelist specified. For example, if the user has selected R1:C1::R3:C7, but column 4 is hidden, I would like to adjust the rangelist to R1:C1::R3:C3 + R1:C5::R3:C7. Is there a way to manipulate GridRangeInfo/GridRangeInfoLists like this?

2 Replies

AD Administrator Syncfusion Team October 13, 2004 10:43 AM

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


MD Mike Daly October 13, 2004 10:50 AM

Thanks, Clay! I knew that somebody probably had already asked the question; I just couldn''t find it.

Loader.
Live Chat Icon For mobile
Up arrow icon