angular-ui/ui-grid
在 GitHub 查看navigator does not behave the same when navigating left to right and right to left.
Open
#4,368 建立於 2015年9月15日
help wantedneeds: analysis
描述
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.