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

Problem copying and pasting in Grid if range includes an empty row

Thread ID:

Created:

Updated:

Platform:

Replies:

13398 Apr 27,2004 09:07 PM UTC Apr 27,2004 11:32 PM UTC Windows Forms 1
loading
Tags: GridControl
Vinood
Asked On April 27, 2004 09:07 PM UTC

Hi, If I select a group of cells in the grid of which one of the rows of the selected range to be copied is empty, then i run into the problem that the paste operation pastes up to this blank line. Copy using grid.CutPaste.ClipboardFlags=GridDragDropFlags.Text; grid.CutPaste.Copy(); If look at the data in the clipboard (Grid has 4 columns) 58 67 89 23 89 67 56 33 56 23 34 12 If I call paste like grid.CutPaste.ClipboardFlags=GridDragDropFlags.Text; grid.CutPaste.Paste(); the paste operation halts at the blank line. Am I doing this wrong or is this a bug. The only solution I can think of which is cleaning up the data (since the blank line is actually "33\r\n\t\t\t\r\n56") may not work due to the fact that i may be copying > 1,000,000 cells which contain numbers and words and would casue a large performance hit

Administrator [Syncfusion]
Replied On April 27, 2004 11:32 PM UTC

Hi Vinood, I tried to see the problem in the attached sample. I can able to copy a range of rows which has empty cells to the other grid. Are you handling any copy/paste events that might affect this? What version of the grid are you using? Thanks, Jay N. Forum_Copy_Paste_8524.zip

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

;