I have a detail list which is displayed using RadzenRow and RadzenColumn and in that I show data.
Then user has an option to open dialog and see the same list in the dialog. When user removes 1 row from the list on dialog using delete button, the change is not occurring in the background page. But when I click close button the detail gets updated and the row gets removed.
I want to know is it possible to update the ui when editing on dialog ? Even before closing the dialog ?
I have below dialog code that shows rows with product details. I have removed unnecessary code to make it to the point. The below code is inside Dialog box please note that.
If you have reference to the DataGrid in the main page below all the dialogs you can call Reload(). If the variable assigned to Data property is updated the grid will be re rendered according to the new data.
Iโm afraid that I cannot provide much help by just looking at screenshots. Try to debug your application to check what variable should be updated in order UI to be refreshed.
Hello,
i would add a new parameter to the dialog component (PaymentDialog) of type Action (or a Func or a EventCallBack) that take a method to refresh the list (if is a grid just reload it, if is a custom cmp try with StateHasChanged). When u remove the item just invoke the Action parameter.
Declaration in the cmp PaymentDialog
[Parameter]
public Action? RefreshSource { get; set; }