AllenFang / AllenFang/react-bootstrap-table
Delete not working on second page second row when paginated
未關閉
- 主要語言
- JavaScript
- 星號
- 2.2k
- 分支
- 761
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Throws Error:
`result = this.store.page(Util.getNormalizedPage(pageStartIndex, currPage), sizePerPage).get();` in `deleteRow` function in BootstrapTable.js has issue.
When `Util.getNormalizedPage(pageStartIndex, currPage)` is called it returns value 3 when there are only 2 pages actually. I Think the call to `this.store.page()` should be like `this.store.page(currPage,sizePerPage).get()`
No need for Normalization here. Correct me if i am wrong or let me know why it is required for that normalization.
貢獻指南
評估
這個 Issue 還沒有評估資料。