Open prsdcse opened 3 years ago
Any quick workaround will be greatly appreciated.
Any quick workaround will be greatly appreciated.
Hello, I think i found a workaround for this bug, as you pointed out, the bug occurs when you filter the table while you're on a page that wont exist after the filter, so , if you jump to page 1 before filtering the table, i think the page wont crash.
assuming your table is rendered in the same way as the link you posted i think this should fix it
on the body of the class:
jumpToFirstPage = ({ onPageChange }) => () => {
onPageChange(1);
};
and on the BootstrapTable component:
const contentTable = ({ paginationProps, paginationTableProps }) => (
//...
<BootstrapTable
//...props
onDataSizeChange={this.jumpToFirstPage(paginationProps)}
/>
//...
);
Hello I noticed the same issue a month ago but nobody has answering me
Any quick workaround will be greatly appreciated.
hello, have you tried to downgrade react-bootstrap-table-next to 3.0.1
Facing the same problem , also tried the given solution nothing happen
Please solve this asap
Any quick workaround will be greatly appreciated.
hello, have you tried to downgrade react-bootstrap-table-next to 3.0.1
Tried not working
Custom Pagination with search errors out When have a custom pagination with search. Goto the 2 or higher number page in the pagination and copy a column data and paste it in the search bar it errors out.
To Reproduce Steps to reproduce the behavior:
Screenshots PFB the screenshot
codesandbox was able to replicate the issue in the sandbox itself.