Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Error When Clicked Expandable Row While Another Row Expanded (BUG) #48

Open
ismaiI1 opened this issue Apr 12, 2016 · 2 comments
Open

Error When Clicked Expandable Row While Another Row Expanded (BUG) #48

ismaiI1 opened this issue Apr 12, 2016 · 2 comments

Comments

@ismaiI1
Copy link

ismaiI1 commented Apr 12, 2016

I set _shouldExpandOnlyOneCell=YES

when I expand i row, if clicked another expandable row tableview detect it as a subrow.

I mean correspondingIndexPath.subRow not 0 for expandable row.

Edit : Abi Türkmüşsün ya :D ben düzelttim bu sıkıntıyı, pull requestle ekledim. #50

  NSIndexPath *correspondingIndexPath = [self correspondingIndexPathForRowAtIndexPath:indexPath];

 if (correspondingIndexPath.subRow == 0)
 {          
       [_SKSTableViewDelegate tableView:tableView didSelectRowAtIndexPath:correspondingIndexPath];
 } else {
       [_SKSTableViewDelegate tableView:self didSelectSubRowAtIndexPath:correspondingIndexPath];
 }
@BhaveshDhaduk
Copy link

Hi,

I am getting same issue, any clue...

@ismaiI1
Copy link
Author

ismaiI1 commented May 17, 2016

@googler2013 i found the solution. please follow #50

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants