AllenFang / AllenFang/react-bootstrap-table

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

未关闭
#1,462 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
2.2k
派生
761
PR 合并指标
30 天内没有已合并 PR

描述

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?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。