The problem I’m encountering is that the pagination is appearing above the table, whereas my expectation is for it to be displayed after the table. Ideally, when I add multiple rows, the pagination should follow immediately after the table.
The problem I’m encountering is that the pagination is appearing above the table, whereas my expectation is for it to be displayed after the table. Ideally, when I add multiple rows, the pagination should follow immediately after the table.
2
Answers
Are you sure you want to give this
absolute
class to the following div<div class="absolute w-full overflow-x-auto">
? When I removed it, the pagination showed under the table.All that I did was removed the pagination div from where it was earlier nd added it inside the same div as table and it met the rqirements.