Blazor DataGrid InLine Editing Glitch #106

Closed
opened 2026-01-29 17:31:39 +00:00 by claunia · 2 comments
Owner

Originally created by @luizs81 on GitHub (Jun 1, 2021).

Describe the bug
When the DataGrid is on "insert row" mode and a user clicks on the "edit" button of another row, an empty row is left in the grid.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://blazor.radzen.com/datagrid-inline-edit
  2. Click on "+ Add" button
  3. Click on the "edit" button of any other row
  4. The row which the "edit" was clicked on will be in "edit mode", but an empty row will be left in the grid.

Alternatively link your repo with a sample project that can be run.

Expected behavior
The grid should "cancel" the empty row before changing the new row for update.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser (any)
  • Version [e.g. 22]

Additional context

  • none -
Originally created by @luizs81 on GitHub (Jun 1, 2021). **Describe the bug** When the DataGrid is on "insert row" mode and a user clicks on the "edit" button of another row, an empty row is left in the grid. **To Reproduce** Steps to reproduce the behavior: 1. Go to https://blazor.radzen.com/datagrid-inline-edit 2. Click on "+ Add" button 3. Click on the "edit" button of any other row 4. The row which the "edit" was clicked on will be in "edit mode", but an empty row will be left in the grid. Alternatively link your repo with a sample project that can be run. **Expected behavior** The grid should "cancel" the empty row before changing the new row for update. **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: Windows 10 - Browser (any) - Version [e.g. 22] **Additional context** - none -
Author
Owner

@luizs81 commented on GitHub (Jun 9, 2021):

Hi @enchev
Could you please give a feedback before closing the ticket? I feel I was left in the void.

@luizs81 commented on GitHub (Jun 9, 2021): Hi @enchev Could you please give a feedback before closing the ticket? I feel I was left in the void.
Author
Owner

@bradbamford commented on GitHub (Jun 23, 2021):

similar issue when in edit mode and the user clicks the edit button of any other row.
Any editedItems could be cleared in EditRow method as well along with itemToInsert.

@bradbamford commented on GitHub (Jun 23, 2021): similar issue when in edit mode and the user clicks the edit button of any other row. Any editedItems could be cleared in EditRow method as well along with itemToInsert.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#106