AllenFang / AllenFang/react-bootstrap-table

Dual callbacks on pagePerSize dropdown change

Aberta
#1,587 7 comentários 0 reações 0 responsáveis Ver no GitHub
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

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.