Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to set custom cell height #3

Open
mistrydarshan99 opened this issue Feb 5, 2014 · 2 comments
Open

how to set custom cell height #3

mistrydarshan99 opened this issue Feb 5, 2014 · 2 comments

Comments

@mistrydarshan99
Copy link

I have implement this library control and delegate but when i set my custom cell height it cannot take change my cell height so How to change custom cell height.

@CombustionInnovation
Copy link

(CGFloat)tableView:(UITableView _)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { return [expandableDelegate HeightForRow:indexPath]; } add this to expandabletableview m
-(NSInteger)HeightForRow:(NSIndexPath
)indexPath;
to the delegate

and in the vc that the table view it is in

-(NSInteger)HeightForRow:(NSIndexPath*)indexPath
{
normal code
}

@CombustionInnovation
Copy link

@mistrydarshan99

(CGFloat)tableView:(UITableView _)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { return [expandableDelegate HeightForRow:indexPath]; } add this to expandabletableview m
-(NSInteger)HeightForRow:(NSIndexPath
)indexPath;
to the delegate

and in the vc that the table view it is in

-(NSInteger)HeightForRow:(NSIndexPath*)indexPath
{
normal code
}

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

No branches or pull requests

2 participants