AllenFang / AllenFang/react-bootstrap-table

11th item is not shown when selecting 15 from the pagination

Abierto
#1,462 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
2.2k
Forks
761
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I have 11 items but the table only shows 10 items. If i provide `sizePerPage: 10` it shows the 10 users if 5 then 5 users but if i give 11 as a sizePerPage i see only 10 items. Also when selecting the 15 from dropdown of pagination, i get only 10 items.

Here is the configuration

```javascript
const options = {
afterDeleteRow: this.onAfterDeleteRow,
sizePerPage: 5,
sizePerPageList: [5, 10, 15, 20]
};
const { users, response } = this.props;
if (users.size === 0) {
return

loading
;
}
const selectRowProp = {
mode: "checkbox",
clickToSelect: true,
className: "custom-select-class",
bgColor: "#2863a0",
color: "#fff"
};
return (

Users



)
```

Why 11th item is not shown? Is it bug or i have done some mistake in configuration?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.