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


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

Aroquiassamy LA ROZE pro premium asked 1 months 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 1 months 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 pro premium commented 1 months ago

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


Please insert min. 20 characters.