AllenFang / AllenFang/react-bootstrap-table
Dual callbacks on pagePerSize dropdown change
Aberta
enhancement
in progress
- Linguagem predominante
- JavaScript
- Estrelas
- 2.2k
- Forks
- 761
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
Hello @AllenFang
For some weird reason I'm doing a fetch request on `onPageChange` and `sizePerPageListChange` both.
I've encountered a scenario where `sizePerPageListChange` event also triggers `onPageChange` event. This is very similar to the example [here](https://allenfang.github.io/react-bootstrap-table/example.html#pagination)(section: Pagination Hook)
Can we avoid the table doing multiple events like these?
Thanks.
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.