Chad
1
How do I reload the grid after saving the edit?
protected async Task EditRow(MouseEventArgs args, RadzenBlazorServerApp.Models.sql_database.Vehicle vehicle)
{
await DialogService.OpenAsync<EditVehicle>("Edit Vehicle", new Dictionary<string, object> { { "Id", vehicle.Id } });
}
enchev
2
Check how it's reloaded in our CRUD templates:
Chad
3
I posted in the wrong place
I am using RBS
enchev
4
You can follow exactly the same advice for RBS.
Chad
5
could you please help a little bit more?
I can't figure it out.
appreciate it.
enchev
6
Check the code in the DataGrid RowSelect method in a scaffolded CRUD page. For example:
1 Like
Chad
7
Thank you.
I understood how it worked in your example, I just didn't apply the concept correctly in other cases where I was using a Dialog.
Thank You.