angular-ui/ui-grid

navigator does not behave the same when navigating left to right and right to left.

Open

#4,368 opened on Sep 15, 2015

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (5,395 stars) (2,496 forks)batch import
help wantedneeds: analysis

Description

Hi,

I'm having issue with scrollTo. There are a set of columns I would like to see in the view for a particular jump. See plunker http://plnkr.co/edit/YJAu6irPzKgUURzsf1ju?p=preview. For example, for jump to col10, I want to see 10, 11, 12, 13. This works fine when I jump from higher column number like from 28 back to 10. Col 10 got anchor to the left side. However, when I jump from lower column number like from 1, only col 10 comes into the view and the other columns do not come into the view. Also col10 is anchor to the right side.

I think the jump should behave the same (anchor to the left unless not enough column left to anchor to the left) regardless of where user is scrolling from.

Contributor guide

navigator does not behave the same when navigating left to right and right to left. · angular-ui/ui-grid#4368 | Good First Issue