angular-ui/ui-grid

Header row only 10px high when grouping and loading data asynchronously.

Open

#5.139 aberto em 18 de fev. de 2016

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (2.496 forks)batch import
good first issuetype: bug

Métricas do repositório

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

Description

When you have grouping turned on (e.g. using the directive "ui-grid-grouping", and you are loading data asynchronously (e.g. gridOptions.data = 'data', and then data is set later), the column headers render only 10px high. This is reproduced in the linked Plunkr, a fork from the Plunkr in the API docs.

EDIT: Also requires columnDefs to be set later (e.g. dynamically based on the data), or if you're trying to let ui-grid interpret the columns by not setting columnDefs.

Plunkr recreating the issue: http://plnkr.co/edit/O8a1mwpfnDS6aPQM7wPS?p=preview

API Doc page with plunkr referenced: http://ui-grid.info/docs/#/api/ui.grid.grouping.directive:uiGridGrouping

Guia do colaborador