angular-ui/ui-grid

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

Open

#5 139 ouverte le 18 févr. 2016

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)JavaScript (2 496 forks)batch import
good first issuetype: bug

Métriques du dépôt

Stars
 (5 395 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Guide contributeur