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?