angular-ui/ui-grid

Keeps scrollbar space in the header when you zoom out the page

Open

#6.071 aberto em 13 de mar. de 2017

Ver no GitHub
 (0 comments) (1 reaction) (0 assignees)JavaScript (2.496 forks)batch import
good first issue

Métricas do repositório

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

Description

I'm having a problem using ui-grid.

On my 100% zoom page, a vertical scrollbar appears. When I zoom the page to 90%, even with all the records within the grid-content space, the scrollbar spacing stays in the header.

In my code the config is enableVerticalScrollbar = 1. I tried to control the scrollbar presentation to solve the problem, however when I remove the scrollbar dynamically (enableVerticalScrollbar = 0) the last header column is not loaded correctly. I tried to put enableVerticalScrollbar = 2, but it also don't work correctly and I see isn't recommended.

Zoom 100%: grid_100

Zoom 90%: grid_90

  • The colunm "Estabelecimento" is fixed on the right.

Any suggestions on how I can remove this scrollbar space?

Thank you!

Guia do colaborador