radzenhq / radzen-blazor

Radzen Blazor is a set of 90+ free native Blazor UI components packed with DataGrid, Scheduler, Charts and robust theming including Material design and FluentUI.
https://www.radzen.com
MIT License
3.52k stars 785 forks source link

DataGrid Inline insert error #1610

Closed AliAjami2020 closed 2 months ago

AliAjami2020 commented 2 months ago

Hi, I upgraded the Radzen component from version 4.34.3 to 5, and when I clicked on 'Add New Row' to the DataGrid inline, it did not work. It affected all pages that have inline DataGrid inserts, and they are not working. errorgrid

CyLuGh commented 2 months ago

I just create #1611 about this, it seems to occur only when the source collection is empty. Is it like that for you too?

AliAjami2020 commented 2 months ago

Thank you, I have not tested DataGrid with data source that has data yet, but it happened when I bounded the DataGrid to an empty data list initially. I am trying to first add multiple rows then save them to the database.

Was working fine with version 4.3 image

Nothing happening with version 5 image

enchev commented 2 months ago

There are no changes related to this functionality in Radzen.Blazor 5.0: image

AliAjami2020 commented 2 months ago

There are no changes related to this functionality in Radzen.Blazor 5.0: image

Thank you for checking. There are some changes in styles and themes in version 5. Could they effect it? when a user adds new record to the DataGrid, it is supposed to refresh the DataGrid and show the added row.