|Mar 9, 2009, 06:57 PM||#1|
UITableView Grouped Style
I am having an issue with using a Grouped Style UITableView. I have 2 sections in my table with a variable number of rows in each section. The problem is that when a row in the first section rolls off of the screen and then is rolled back on the screen the data in the row is replaced with the data in the same row number of the 2nd section of the table.
The row data is obviously coming from the cellForRowAtIndexPath method. I have the row number in that method but I cannot figure out how to get the table section number. Is that possible? Or is there another way to do this? When the cell redraws it thinks it is in the second section of the table. That is causing the problem.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Emails aren't grouped together in Mail||bluewomble88||iOS 7||3||Oct 6, 2013 11:10 AM|
|iMessage: how do I view messages grouped by person?||opnancy||iOS 7||34||Sep 22, 2013 02:04 PM|
|Resolved: Strange behavior with grouped UITableView||straber||iPhone/iPad Programming||2||Oct 4, 2012 08:33 PM|
|Problem with showing Grouped Data in UITableView||Narendar Singh||iPhone/iPad Programming||8||Jul 18, 2012 05:36 AM|
|How to create Grouped table||Narendar Singh||iPhone/iPad Programming||3||Jul 2, 2012 03:23 AM|
All times are GMT -5. The time now is 10:56 AM.