RazenGrid in-line edit drops edit mode when checkbox changed #47

Open
opened 2026-01-29 17:30:43 +00:00 by claunia · 0 comments
Owner

Originally created by @vouksh on GitHub (Feb 25, 2021).

Describe the bug
When using the RadzenGrid in-line edit functionality, if you use any sort of Checkbox control, the edit mode gets switched off as soon as the value is changed, but the changes don't save. In order to save it, you have to re-enable edit mode for the row, then save changes to push them up to the server.
This only happens the first time edit mode is triggered on the page. After the first time it ends edit mode, it will function normally.

To Reproduce
Steps to reproduce the behavior:

  1. Create a component using RadzenGrid
  2. Use in-line editing, create an EditTemplate for a column that is a boolean property, use either InputCheckbox or RadzenCheckbox
  3. Enable edit mode in browser and change the state of the property. Edit mode will stop and server never receives new info.

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

Expected behavior
Allow boolean checkboxes in inline editing.

Screenshots
image
image

Desktop (please complete the following information):

  • OS: Windows 10 20H2
  • Browser: Edge
  • Version 88.0.705.74 (Official build) (64-bit)

Additional context
Working around this using a dropdown, but would prefer to use a checkbox.

Originally created by @vouksh on GitHub (Feb 25, 2021). **Describe the bug** When using the RadzenGrid in-line edit functionality, if you use any sort of Checkbox control, the edit mode gets switched off as soon as the value is changed, but the changes don't save. In order to save it, you have to re-enable edit mode for the row, then save changes to push them up to the server. This only happens the first time edit mode is triggered on the page. After the first time it ends edit mode, it will function normally. **To Reproduce** Steps to reproduce the behavior: 1. Create a component using RadzenGrid 2. Use in-line editing, create an EditTemplate for a column that is a boolean property, use either InputCheckbox or RadzenCheckbox 3. Enable edit mode in browser and change the state of the property. Edit mode will stop and server never receives new info. 4. Alternatively link your repo with a sample project that can be run. **Expected behavior** Allow boolean checkboxes in inline editing. **Screenshots** ![image](https://user-images.githubusercontent.com/3097831/109192799-b068ea00-7765-11eb-8df0-eac72434a4df.png) ![image](https://user-images.githubusercontent.com/3097831/109192923-d2626c80-7765-11eb-9011-8c4d1b1336b6.png) **Desktop (please complete the following information):** - OS: Windows 10 20H2 - Browser: Edge - Version 88.0.705.74 (Official build) (64-bit) **Additional context** Working around this using a dropdown, but would prefer to use a checkbox.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#47