MudBlazor/MudBlazor
`StartedEditingItem` event is not raised when editing DataGrid item if `EditTrigger` is set to `OnRowClick` and `DataGridEditMode` is set to `Cell`
已关闭
#5,958 创建于 2022年12月11日
bughelp wanted
仓库指标
- 星标
- (10,394 个星标)
- PR 合并指标
- (平均合并 6天 6小时) (30 天内合并 108 个 PR)
描述
Bug type
Component
Component name
MudDataGrid
What happened?
StartedEditingItem is not raised when editing DataGrid item if EditTrigger is set to OnRowClick and DataGridEditMode is set to Cell.
StartedEditingItem is correctly raised if DataGridEditMode is set to Form.
This is problematic, because it prevents to implement things like backing up items before editing when DataGridEditMode is set to Cell.
Expected behavior
The StartedEditingItem should be raised either:
- as soon as the user clicks in the editable field
- or, even better, when they make the first change to the editable field
Reproduction link
Updated repro link (v. 8.14.0, 18/11/2025): https://try.mudblazor.com/snippet/ckcpFFvCVNJUWvqI
Old repro link (v. 6.1.4):
Reproduction steps
- Create Datagrid and make it editable
- Set editing mode to cell
- See no event raised ...
Relevant log output
No response
Version (bug)
6.1.4 - still present in 8.14.0
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Windows, Linux, Android
Pull Request
- I would like to do a Pull Request
Code of Conduct
- I agree to follow this project's Code of Conduct