Unable to Paste Row Data into New Top-Pinned Row when not on Last Page of GridView

1 Answer 58 Views
GridView
Paul
Top achievements
Rank 1
Paul asked on 22 Feb 2023, 04:35 PM | edited on 24 Feb 2023, 09:39 PM

To further explain, the behavior happens when adding a new row, via button event, to the gridview (with AddNewBoundRowBeforeEdit enabled and AllowAddNewRow disbaled). The new row is pinned to the top, with editing enabled. When copying row data from one row to this new row, pasting the row data only works if the grid view is on the last page. Pasting Individual cells do not have this problem and any cell is enabled for edit while viewing any page of the grid view.

So I'm left wondering why is this even an issue in the first place. Not even automatically pasting valid row data, via button event that adds the new row, works.

Is there a setting available somewhere that can override this behavior? Or explanation as to why this is the case?

Let me know if more information is needed.

Edit:

I've put together a small app using a pre-existing demo provided by Telerik. Note that due to some other behavior, pasting into the new row on last page removes said row from view.  Ignore that behavior.

1 Answer, 1 is accepted

Sort by
1
Dess | Tech Support Engineer, Principal
Telerik team
answered on 27 Feb 2023, 10:04 AM

Hi, Paul,

Please have in mind that the paste operation is not supported in the new row. We already have a similar feature logged in our feedback portalYou can track its progress, subscribe for status changes and add your comments on the following link: 

https://feedback.telerik.com/winforms/1372364-add-radgridview-add-paste-operation-in-the-new-row 

However, since the AllowAddNewRow property is set to false in your project, I suspect that by "new row" you don't mean the following row:

WinForms RadGridView New Row

I would like to note that when RadGridView is used in bound mode, it is necessary to add the new records to the applied DataSource collection, not to add unbound rows to the grid. However, pasting into a pinned row seems to behave weird. I have also noticed that the RadGridView.ClipboardPasteMode property is set to Enabled. Make sure that you set it to GridViewClipboardPasteMode.EnableWithNotifications.

While working on this thread, I have identified two scenarios that can be considered as issues with the paste operation in RadGridView. 

I have logged them in our feedback portal by creating a public thread on your behalf. You can track their progress, subscribe for status changes and add your comments on the following link

https://feedback.telerik.com/winforms/1599195-radgridview-pinned-row-at-the-top-disappears-after-pasting

https://feedback.telerik.com/winforms/1599198-radgridview-paste-in-a-pinned-row-from-all-pages 

 

I have also updated your Telerik points.

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
GridView
Asked by
Paul
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or