sakkaras / SKSTableView

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

Wrong Subrow Index when selected in non first row. #24

Open kuanll opened 9 years ago

kuanll commented 9 years ago

I set the property shouldExpandOnlyOneCell=YES; 1.Open first Row,there are threes subrows. 2.Click the second row (not subrow,there are three subrows,too) but I got a delegate didSelectSubRowAtIndexPath:

I think ExpandOnlyOneCell,will close subrows of First row First,and calculate corresponfingIndexPath later.

so I modify the SKSTableView.m at 331 marked //NSIndexPath *currespondingIndexPath=....... and declare this at line 287 before if(cell.isExpandable)

sorry about my poor english.