AllenFang / AllenFang/react-bootstrap-table
Delete not working on second page second row when paginated
Aberta
- Linguagem predominante
- JavaScript
- Estrelas
- 2.2k
- Forks
- 761
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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.
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.