You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.
i am using this control is works fins but facing one issue i have added one button in cellForSubRowAtIndexPath when i clicked button the i got wrong row and subrow below is mu code
Hi
i am using this control is works fins but facing one issue i have added one button in cellForSubRowAtIndexPath when i clicked button the i got wrong row and subrow below is mu code
{
UIButton btn=(UIButton)[cell.contentView viewWithTag:15];
[btn addTarget:self action:@selector(DeleteClicked:) forControlEvents:UIControlEventTouchUpInside];
}
-(void)DeleteClicked:(UIButton*)sender
{
CGPoint point=[sender convertPoint:CGPointZero toView:tbl_Preview];
indexpath=[tbl_Preview indexPathForRowAtPoint:point];
// i got wrong indexpath
}
Please help me
thanks
The text was updated successfully, but these errors were encountered: