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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Pasting data increases rowcount

Thread ID:

Created:

Updated:

Platform:

Replies:

32794 Aug 8,2005 03:37 PM UTC Aug 10,2005 08:50 AM UTC Windows Forms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On August 8, 2005 03:37 PM UTC

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

Administrator [Syncfusion]
Replied On 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

Administrator [Syncfusion]
Replied On 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 >

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;