Topic: MDB-Pagination fails when we have 2 table in a component

Aroquiassamy LA ROZE priority asked 3 years ago


Expected behavior I was having two(2) MDB-Table in a components. Each must have a individual table-pagination that has to work independently.

Actual behavior When I click on the 1st table pagination the 2nd Table's goes to next page.

Can you just give a snippet or example about how to add two pagination.


Arkadiusz Idzikowski staff answered 3 years ago


You probably share some data/variables between two tables.

I think the easiest way, in this case, would be to create 2 new custom components and put the code from our documentation into them. This way you will be sure that the data used by the components is unique for each of them


Aroquiassamy LA ROZE priority commented 3 years ago

@Arkadiusz Idzikowski I think this is not proper but anyways I will workout as you suggests..!I



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: 9.4.0
  • Device: Lenova
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No