You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I Used react-js-pagination in my function Component ,but onChange return undefined for me.
<Pagination
activePage={pageNumber}
itemsCountPerPage={pageSize}
totalItemsCount={totalRows}
pageRangeDisplayed={5}
onChange={() => handleSearch(this)}
/>
Can you help me?
Best Rigards
The text was updated successfully, but these errors were encountered:
I know this post is kinda old and you may have found a solution (by using the class component maybe).
Still, I ran into the same issue and found a solution, I hope this will help some people! :)
On an other way, since I'm still kinda a beginner at react concepts, I can't explain in details why this works... Would love to see someone improve this answer!!!
Hi,
I Used react-js-pagination in my function Component ,but onChange return undefined for me.
<Pagination
activePage={pageNumber}
itemsCountPerPage={pageSize}
totalItemsCount={totalRows}
pageRangeDisplayed={5}
onChange={() => handleSearch(this)}
/>
Can you help me?
Best Rigards
The text was updated successfully, but these errors were encountered: