angular-ui/ui-grid

Scrolling/ Rendering broken after rowHeight change

Open

#5,827 opened on Nov 22, 2016

View on GitHub
 (5 comments) (0 reactions) (1 assignee)JavaScript (2,496 forks)batch import
help wanted

Repository metrics

Stars
 (5,395 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Changing gridOptions.rowHeight after grid has already rendered throws off scrolling. The grid seems to still be trying to calculate scrolling/rendering based on the old row height.

Maybe this isn't actually an issue and I'm just missing something in the docs. I haven't seen anything related to this and using refresh() doesn't help.

Contributor guide