react-bootstrap-table2
react-bootstrap-table2 copied to clipboard
Is it possible to change the current page programmatically?
Currently, I have tried the following:
paginationFactory({ page: 4 });
paginationContext.currPage = 4;
Very frustrating as seems that all the examples work with either of these, but in my unfortunate case it doesn't work. What does happen is the currPage is set to 4 but the actual pagination on the interface isn't!
See https://github.com/react-bootstrap-table/react-bootstrap-table2/issues/1634#issuecomment-1513062293 maybe you'll find a solution.