Modifying ''Copy'' behavior

Hello! I''ve noticed that there is good support for customizing the behavior of the copy operation in the grid, except for just a few small, but critical, things. For example, I can''t seem to skip hidden rows or columns. Ideally, I would love to be able to handle the CopyTextToBuffer(...) operation of the GridModelTextDataExchange class, since there a some other small tweaks I''d like to do in there. Right now, I have to duplicate the code of five methods in the GridModelCutPaste and GridModelTextDataExchange classes when I really only need to modify the CopyTextToBuffer method. Any suggestions or would it be possible to fire a new event in the future? Thanks, Terry

1 Reply

AD Administrator Syncfusion Team May 23, 2006 04:01 AM UTC

Hi Terry, While CopyPaste to avoid the hidden rows/cols, just the CopyTextToBuffer method can be implemented and called in the ClipboardCopy event handler. Attached is a sample that demonstrates this. Let us know if this serves your need. Regards, Calvin.

CopyTextToBuffer.zip

Loader.
Up arrow icon