Partha
Partha

Reputation: 479

Popup CRUD appication with angular 5/6

I am using VS 2015 with angular 5 and Web API. There is a Master details screen. I want to add/modify details portion using modal popup and showing the details record in the table at same time which is very common. I have found many such examples in mvc and anguarjs but could not find proper example for anguar 4/5/6. Is there any link on that?

Thanks

Partha

Upvotes: 0

Views: 576

Answers (2)

Praneeth_KL
Praneeth_KL

Reputation: 75

You can go with the following video,

VIDEO

Upvotes: 0

Dima Grossman
Dima Grossman

Reputation: 2830

You can use a modal component from a library like https://valor-software.com/ngx-bootstrap/#/modals or angular material.

Just create the modal component and have a showModal function that recieve either the item ID or the item object.

Inside of it you can create a form and allow the user to update the entity. You can than use and @Output when the user submits the changes to notify the parent table component.

Upvotes: 1

Related Questions