I need to implement a Material Dialog feature that allows users to update entries in a table by clicking on the "Change Status" button.
Check out this functional snippet:
I have successfully retrieved data from the dialog, as shown in the console log of the snippet. However, I am facing challenges updating the table entry with this data, specifically for the Reason and StatusDescription fields.
Below is the code snippet for my Dialog component:
// Code for EditingDialogComponent goes here
The save() method helps retrieve data from the dialog, and I am subscribing in the payments component.
Here is the relevant code for the PaymentsComponent:
// Code for PaymentsComponent goes here
I am looking for guidance on how to correctly update a row in the table with new data. Any insights on this are greatly appreciated.