I'm not able to hide the pagination bar for my table when there's only 1 page. I tried setting hidePageListOnlyOnePage to true, but I still see a button below my table that says "1". I'm testing with 1 row (1 page).
Here are the options for my table:
<BootstrapTable
bootstrap4
hover
keyField='id'
data={users}
columns={ columns }
pagination={ paginationFactory({ hidePageListOnlyOnePage:true }) }
filter={ filterFactory() }
noDataIndication="No Users to Display"
selectRow={ selectRow }
/>
Mine is not working too, after debbuging a little see that the react-bootstrap-table-pagination-list-hidden is been applied but the style not
I have the same issue too.
@Lilian1331, I solved my problem putting this css
.react-bootstrap-table-pagination-list-hidden {
display: none;
}
Most helpful comment
@Lilian1331, I solved my problem putting this css