Hello, I have three tables, I need to save data in two table, when a customer makes a return in a tree grid/grid or hierachical grid (it does not matter which one, easiest is good :)
- CustomersTable, ID, name
- OrdersTable. ID, name, customerID, total, WasReturned
- CustomerOrdersReturnsTable - Id, OrderID, CustomerID, OrderAmount, to track, save and load return and amount
Use case: In my Orders table, I am both loading & creating new orders & customer Returns.
OrderTable Order In line Form
< form> [OrderId, address, .... customerID Foreign Key, OrderAmount ]
Question:
When we edit the order table in hierachical/treegrid/grid in the order table,
1) How can I load Customer names from CustomersTable,
2) How to save update both orderTable form (during customer return), and also save customerID Foreign Key, OrderAmount in
CustomerOrdersReturnsTable
Another request... in the EJ2 angular demos, please add sample ASP web API tab also to help use understand the API side