sakkaras / SKSTableView

An expandable table view.
MIT License
446 stars 115 forks source link

subrow issue in SKSTableView #41

Open ketulbshah opened 8 years ago

ketulbshah commented 8 years ago

Is there anyone using SKSTableView and knows the subrow stuff ? I'm encountering the problem that in delegate method

func tableView(tableView: SKSTableView!, cellForSubRowAtIndexPath indexPath:
NSIndexPath!) -> UITableViewCell! {} no matter how many number of subrows are returned, indexPath.subrow keeps giving me 0, which is the index of the first subrow. So the subrow cell can only fetch the first item of the given array.

Please help and thanks ahead.

Ketul.shah15@gmail.com

jovanpreet commented 8 years ago

Same issue how did you solve it

kksuthar321 commented 8 years ago

Facing same issue any one solve it

kksuthar321 commented 8 years ago

Check this http://stackoverflow.com/questions/37677705/skstableview-got-wrong-indexpath-when-clicked-button-inside-subrowatindexpath/37677812#37677812