The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
If I have a grid with 5 rows, then try to paste 10 rows of data from excel, the grid is expanded to 10 rows. This is very nice behaviour (thanks!), but occasionally I need the row count to remain fixed. Is there any way I can prevent the number of rows changing?
Thanks
Akash
ADAdministrator Syncfusion Team August 8, 2005 04:35 PM UTC
There is a property flag that controls whether or not rows/columns can be appended during a paste.
//C#
this.gridControl1.CutPaste.ClipboardFlags |= (GridDragDropFlags.NoAppendCols | GridDragDropFlags.NoAppendRows);
''VB.NET
Me.GridControl1.Model.CutPaste.ClipboardFlags = Me.GridControl1.Model.CutPaste.ClipboardFlags _
Or GridDragDropFlags.NoAppendRows _
Or GridDragDropFlags.NoAppendCols
ADAdministrator Syncfusion Team August 10, 2005 08:50 AM UTC
Thanks - once again the support the excellent!
Akash
>There is a property flag that controls whether or not rows/columns can be appended during a paste.
>
>
>//C#
>this.gridControl1.CutPaste.ClipboardFlags |= (GridDragDropFlags.NoAppendCols | GridDragDropFlags.NoAppendRows);
>
>''VB.NET
> Me.GridControl1.Model.CutPaste.ClipboardFlags = Me.GridControl1.Model.CutPaste.ClipboardFlags _
> Or GridDragDropFlags.NoAppendRows _
>
>Or GridDragDropFlags.NoAppendCols
>