views:

36

answers:

1

Hi!

I am using UITableView with Griding Functionality. When scrolling, at the last column it automatically comes at First cell. What should I do to resolve this problem?

A: 

It sounds like you're looping your data source.

A tableview has some data structure that provides both the data and the structure of that data so that the data is ordered into rows. The simplest data structure would be an array. The first row would display info at array element zero, the second row at array element 1 and so on.

If the last row of the table displays data from first row, then you have somehow looped the array index back to zero. I can't say exactly how you've done that without seeing the code.

TechZen
can i post my code here?
Ankit Vyas
Edit the answer and add the code there.
TechZen