I wish to allow users to cut and paste into a gridcontrol. However when cutting and pasting into the grid I do not wish the grid to automatically increase the number of columns (I do however want the number of rows to increase automatically) when pasting a grid area that falls outside the current grid which the data is to be pasted into.
What would be the most appropiate way to disallow the gridcontrol to increase the number of columns, but still allow the cut and paste of data?
ADAdministrator Syncfusion Team March 29, 2005 04:39 AM
If you do not want to auto-append columns, there is a flag you can set in the ClipboardFlags property.
this.gridControl1.CutPaste.ClipboardFlags |= (GridDragDropFlags.NoAppendCols;
Me.GridControl1.Model.CutPaste.ClipboardFlags = Me.GridControl1.Model.CutPaste.ClipboardFlags _