Open s-dezign opened 2 years ago
Hey @s-dezign, There is indeed problem with InsertRow() method when the DataGrid is bound using LoadData. The only workaround we can offer is to insert new item in the collection assigned to Data property instead. You can check also the code generated by Radzen inline edit page template for reference.
@enchev do you have that code generated by Radzen by any chance ?
@enchev it is still doesn't work. I did add new item into Data instead of InsertRow()
, but first it is causing issue when you cancel Editing new row and second it doesn't resolve issue when No records to display
message new row is not appear.
I am dealing with the same issue.
This appears to be an ongoing issue, and it affects the scaffolded code from the current version of Blazor Studio. Is there any documented way to resolve this?
Any plans to resolve this issue?
I have encountered this issue as well. I am using the following workaround: before calling InsertRow() I set ShowEmptyMessage to false and it seems to bypass the problem.
In DataGrid, which is using
LoadData
method, when you filter out all data and nothing found row showing up. In this case if you will try to add new row, it will never show up. This is only happens in nothing found case.To Reproduce Steps to reproduce the behavior:
Expected behavior New row should show up instead of nothing found
Once Again This is not happens when only
Data
is using. ONLY whenLoadData
is using.Example which causing that bug