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
close icon

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.
Live Chat Icon For mobile
Up arrow icon