[PR #1894] [MERGED] Support for inserting after specific row in DataGrid #2950

Open
opened 2026-01-29 18:21:14 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/1894
Author: @ENeMy235
Created: 1/4/2025
Status: Merged
Merged: 1/6/2025
Merged by: @enchev

Base: masterHead: datagrid-allow-insert-after-row


📝 Commits (2)

  • e271db6 Support to insert new row after specific row
  • 48be9ab Demo page updated to show insert after row

📊 Changes

2 files changed (+41 additions, -14 deletions)

View changed files

📝 Radzen.Blazor/RadzenDataGrid.razor.cs (+21 -4)
📝 RadzenBlazorDemos/Pages/DataGridInLineEdit.razor (+20 -10)

📄 Description

Added method in DataGrid to allow to insert after specific row:
InsertAfterRow(TItem itemToInsert, TItem rowItem)

Code adjusted, to keep normal insert intact (at top of the grid).

Updated demo page DataGridInLineEdit, to show the option of inserting after specific row.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/radzenhq/radzen-blazor/pull/1894 **Author:** [@ENeMy235](https://github.com/ENeMy235) **Created:** 1/4/2025 **Status:** ✅ Merged **Merged:** 1/6/2025 **Merged by:** [@enchev](https://github.com/enchev) **Base:** `master` ← **Head:** `datagrid-allow-insert-after-row` --- ### 📝 Commits (2) - [`e271db6`](https://github.com/radzenhq/radzen-blazor/commit/e271db65e7cee3f54ffce4fe89cbc7a37729b68d) Support to insert new row after specific row - [`48be9ab`](https://github.com/radzenhq/radzen-blazor/commit/48be9abdc55a0ee568e2f099a5b9aecd2b54b39c) Demo page updated to show insert after row ### 📊 Changes **2 files changed** (+41 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `Radzen.Blazor/RadzenDataGrid.razor.cs` (+21 -4) 📝 `RadzenBlazorDemos/Pages/DataGridInLineEdit.razor` (+20 -10) </details> ### 📄 Description Added method in DataGrid to allow to insert after specific row: `InsertAfterRow(TItem itemToInsert, TItem rowItem)` Code adjusted, to keep normal insert intact (at top of the grid). Updated demo page **DataGridInLineEdit**, to show the option of inserting after specific row. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 18:21:14 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#2950