angular-ui/ui-grid

ui-grid pinning bug when position: absolute or fixed

Open

#2 899 ouverte le 3 mars 2015

Voir sur GitHub
 (1 commentaire) (1 réaction) (0 assignés)JavaScript (2 496 forks)batch import
help wantedtype: bug

Métriques du dépôt

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

Description

I want to have a grid with 100% widht and height of remaining size of the screen. I found a solution for ng-grid: https://github.com/angular-ui/ng-grid/issues/472#issuecomment-19050780 If works also for ui-grid but when I tried to pin any column all breaking down.

http://plnkr.co/edit/pXwgNrAB8L42OKwnrYRN?p=preview

As you see layout is fully broken. Removing position: absolute from css fixing the issue but also height of the grid become not 100%.

This bug was already been mentioned in #2302 but opener closed it for some reason.

Still can't find a working solution for full-sized grid (height is 100% of remaining screen space).

Guide contributeur