angular-ui/ui-grid

ui-grid pinning bug when position: absolute or fixed

Open

#2.899 geöffnet am 3. März 2015

Auf GitHub ansehen
 (1 Kommentar) (1 Reaktion) (0 zugewiesene Personen)JavaScript (2.496 Forks)batch import
help wantedtype: bug

Repository-Metriken

Stars
 (5.395 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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).

Contributor Guide