GMGridView icon indicating copy to clipboard operation
GMGridView copied to clipboard

scrollToObjectAtIndex doesn't scroll as expected?

Open niklassaers opened this issue 12 years ago • 1 comments

Hi, I have a grid view with pagingEnabled = NO, and ~100 cells, with 5 rows of three cells visible at a time. If I say

[gridView scrollToObjectAtIndex:position atScrollPosition:GMGridViewScrollPositionTop animated:YES];

and the cell in place position is on the screen already, no scrolling happens. What I expected would happen is that it would scroll so that the cell in question would be in the topmost row of the grid view. Any suggestions for how to make it scroll so that, for instance cell with position 11 is scrolled to the top of the visible grid view?

Cheers

Nik

niklassaers avatar May 18 '12 11:05 niklassaers

I'm having the same issue, if I figure something out I'll get back with you - though I know it's probably been too long to matter

powerje avatar Jun 03 '13 13:06 powerje