I’m currently developing a few APIs and I’d need to display and show different functionalities using the responses.
Your task would be to create a table using AngularJS (Angular1), such that you can update and delete multiple rows at the same time.
The table should have an option to multiselect the rows and we’d have 2 main buttons I,e update and delete. The detailed functionality is as follows:
1.) Update: After Selecting all the rows which we need to modify, we click on the “Update” button, which would let us edit the selected fields on the table.
After editing the data, Once we hit save button, it should give me a JSON Object with all these details in the table. (I'd use this data to call my update API).
2.) Delete: This is straightforward. We can multiselect the rows and once we press delete, it should give me all the details in the form a JSON Object (I'd use this data to call my delete API).
PS: I'll provide you with sample JSON, so you'd only have to work on the front end part.