Base solution for your next web application
Open Closed

Using PrimeNG in modal #5111


User avatar
0
hitaspdotnet created

Hi, I just started playing around Core + Angular template.

In PhoneBook sample you aren't used Prime DataTable. I want try to add people phone's in CreateOrEditPeople modal as PrimeNG DataTable in new tab with filtering/sorting and action column.

If we have

public ICollection<PhoneDto> Phones { get; set; }

property in GetPeopleForEdit class's, How you can import Data as PrimeNG DataTable in modal from that model?

Even a brief guide gives me a lot of help Thank you very much


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You could take a look at common-lookup-modal.component.html (<a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/dev/angular/src/app/shared/common/lookup/common-lookup-modal.component.html">https://github.com/aspnetzero/aspnet-ze ... onent.html</a>).

    It is used adding users to organization units.