-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Hi,
I want to add a selection to a pagination in order to change count for per page. I just packaged my own component by using BPagination, but it dosn't work, the content for each page doesn't be updated when change to a new page. If I put the code after the BTable, it works. I wonder if it's a problem to the table ids. I have no idea how to link table id to the pagination ariaControls.
Here is my component.

Here is my table.

I use [table] as an id to a BTable and as a prop ariaControls and put it into my component, it's invalid, but if I do below change, it works.

I don't know if there is already such function in BPagination, so I code it by myself. This function looks like below picture.

Could you please take a look? Thanks in advance.