Hello,
Here is the TypeScript for my Hierarchical Grid. Where can I hook into the updates done by the user to the grid to make the call to my Web API Put/Post methods?
Hello Eric,
Thank you for posting in our forum.
You can refer to the following topic sample which uses the Transaction Service to accumulate and commit transactions in your grid:
https://stackblitz.com/angular/mklyrjkxmba
Note that all transactions can be aggregated and retrieved via the transaction service’s getAggregatedChanges method.
The service also has a onStateUpdate event, which you can subscribe to when a change occurs so that you can invoke your API calls to apply the new changes to your backend.
Let me know if you have any additional questions or concerns.
Best Regards,
Maya Kirova