AllenFang / AllenFang/react-bootstrap-table

[Pagination] When selecting All in page size, no data is populated

Aberta
#1,657 1 comentário 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
2.2k
Forks
761
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Hello,
In pagination, the sizePerPage filter, when selecting "All" the table does not show any data, however other page sizes such as 20, etc work fine. This entire feature was working a while back before upgrading to 4.0.6.

This is how my sizePerPageList is setup:
`customOptions = {
sizePerPageList: [{
text: '20', value: 20,
}, {
text: 'All', value: this.props.array.length,
}],
sizePerPage: 20, // which size per page you want to locate as default`

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.