angular-ui/ui-grid

ui-grid pinning bug when position: absolute or fixed

Open

#2,899 opened on Mar 3, 2015

View on GitHub
 (1 comment) (1 reaction) (0 assignees)JavaScript (5,395 stars) (2,496 forks)batch import
help wantedtype: bug

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

Contributor guide