[PR #1168] [CLOSED] Add EditTemplate to RadzenDataGrid #2551

Closed
opened 2026-01-29 18:19:22 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/1168
Author: @viceroypenguin
Created: 9/26/2023
Status: Closed

Base: masterHead: edittemplate


📝 Commits (2)

  • a5de297 Add support for EditTemplate
  • 7e4d037 Add demo for proof of concept

📊 Changes

3 files changed (+49 additions, -8 deletions)

View changed files

📝 Radzen.Blazor/RadzenDataGrid.razor.cs (+7 -0)
📝 Radzen.Blazor/RadzenDataGridRow.razor (+23 -8)
📝 RadzenBlazorDemos/Pages/DataGridInLineEdit.razor (+19 -0)

📄 Description

This PR adds an EditTemplate to the RadzenDataGrid, with a cascading EditContext, so that the child elements can participate in the same edit context as the parent row.

NB: commit 7e4d037 is only added to prove that the change works as intended; the UI is not polished. I can remove this commit upon request.

Fixes #1167


🔄 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/1168 **Author:** [@viceroypenguin](https://github.com/viceroypenguin) **Created:** 9/26/2023 **Status:** ❌ Closed **Base:** `master` ← **Head:** `edittemplate` --- ### 📝 Commits (2) - [`a5de297`](https://github.com/radzenhq/radzen-blazor/commit/a5de297b5d63d9938fdad003e056ba350a8f352a) Add support for `EditTemplate` - [`7e4d037`](https://github.com/radzenhq/radzen-blazor/commit/7e4d037de3d7044baf6a345a809b481449f95be8) Add demo for proof of concept ### 📊 Changes **3 files changed** (+49 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `Radzen.Blazor/RadzenDataGrid.razor.cs` (+7 -0) 📝 `Radzen.Blazor/RadzenDataGridRow.razor` (+23 -8) 📝 `RadzenBlazorDemos/Pages/DataGridInLineEdit.razor` (+19 -0) </details> ### 📄 Description This PR adds an `EditTemplate` to the `RadzenDataGrid`, with a cascading `EditContext`, so that the child elements can participate in the same edit context as the parent row. NB: commit 7e4d037 is only added to prove that the change works as intended; the UI is not polished. I can remove this commit upon request. Fixes #1167 --- <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:19:22 +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#2551