MudDatagrid : Disable Row click while validate inline edit data - Set focus to cell #1096
Karthiknpm
started this conversation in
General
Replies: 1 comment
-
Hey @Karthiknpm I am not particularly sure if you're seeking advise for testing your component or implementing the logic itself. As bUnit is specialized in the testing part, we can only assist with that. It seems that you need some assistance with MudBlazor itself. Therefore I'd advise you to check out there repository: https://github.com/MudBlazor/MudBlazor |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Team,
First Thank you for giving such wonderful component.
I have implemented muddatagrid to view, edit and create new records. Feature same as SQL table edit.
Its an inline edit mode, when user edit any data in particular row then user has to click on different row. Then the data will get validated and updated to database if its valid. On top of the row one blank row will be added to enter new record.
Everything is working fine. But when validating the record I can show popup with validation message. But after that user can able to click on any row without clearing the invalid records.
So it needs to be disabled. User should not click any row without clearing the invalid data in the edited row. Keep the focus in edited row again.
Could you please suggest how to disable all other rows click if validation failed. All suggest how to set focus on a particular row and cell
Note : Rowclick event triggers only after we entered the new row.
Beta Was this translation helpful? Give feedback.
All reactions