Base solution for your next web application
Open Closed

PrimeNG Table- Multiple table implementation on single page #5467


User avatar
0
nikkariman025 created

I'm just created multiple primeng table on same page with different name for table and paginator. My problem are the data only can be refreshed on single table at one time during page load and when I change the page for one table its will affect other table also.

Thanks


2 Answer(s)
  • User Avatar
    0
    alper created
    Support Team

    To use muliple PrimeNG tables in the same page, you shouldn't use PrimengTableHelper. because it's designed to be used for a general use which is only 1 instance of a PrimeNG table in the same page.

    or if you want to use PrimengTableHelper class, you can create a new instance of PrimengTableHelper and use that for the second table. (but my recommendation is to not use that for multiple table instances.

  • User Avatar
    0
    nikkariman025 created

    Thanks Alper...