AllenFang / AllenFang/react-bootstrap-table

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

Đang mở
#1,462 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
2.2k
Fork
761
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.