Copy Paste Functionality

Hi,

I have a grid with two columns the first column has cells of type combo box when i try to copy paste first column to second column (second column does not have any cells of type combobox) it also copies the underlying cell type.How can i avoid copying the underlying cell type to the clip board.

Thanks in Advance,
Raj

1 Reply

HA haneefm Syncfusion Team August 7, 2007 05:17 PM UTC

Hi Raj,

To turn off style copy/paste support in a gridcontrol(allowing only text to be pasted ), you need to set the ClipboardFlags flag.

this.gridControl1.Model.CutPaste.ClipboardFlags &= ~GridDragDropFlags.Styles;

Best regards,
Haneef

Loader.
Up arrow icon