angular-ui/ui-grid

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

Open

#4.368 aberto em 15 de set. de 2015

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (2.496 forks)batch import
help wantedneeds: analysis

Métricas do repositório

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

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.

Guia do colaborador