angular-ui/ui-grid

Table with fewer shows empty space between rows and footer[where pagination controls are placed]

Open

#3.977 aberto em 13 de jul. de 2015

Ver no GitHub
 (8 comments) (0 reactions) (0 assignees)JavaScript (2.496 forks)batch import
good first issuegrid-paginationworkaround

Métricas do repositório

Stars
 (5.395 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

Hi,

We would really like to use this grid for our enterprise application but the table shows a serious side effect when the number of rows are less than its default viewport. Alternatively, the table does not contract height wise when the the number of rows displayed are less(say e.g. 1 or 2 rows). The footer and the pagination tools defined there stay at same place resulting in lot of blank wasted space between the 2 rows displayed and the footer.

Is there any fix for this or any work wround?

We are currently using angular directive wrapping jquery table and it expands and collapses according to the number of rows very nicely. We want to move towards ui-grid because it is supposed to behave very well on large amount of data. But because of the above issue, which is a blocking issue for us, we are unable to migrate to UI-Grid.

Thanks, Vik

Guia do colaborador