angular-ui/ui-grid

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

Open

#4,368 创建于 2015年9月15日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)JavaScript (5,395 star) (2,496 fork)batch import
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.

贡献者指南