I want to expand tableview cell on it's click. There is a tableview in which two cells are expandable and others are not. I need when i click on expandable cell it should show cells under it and on clicking again it should hide
How to can we add expand and collapse cell at the bottom of tableview in swift
Any one can reply my question .
You asked 2 hours ago and request again 15' later ! Come on, no one is there just to rush on your questions. 😉
And you'd better clarify your problem.
And cells D, E, F below are not.
Correct ?
To hide, you should set hidden to true for cells C, D, E and set their height to zero.
See this:
https://stackoverflow.com/questions/29886642/hide-uitableview-cell
And you'd better clarify your problem.
So, you have cells A, B which are expandendabletwo cells are expandable and others are not.
And cells D, E, F below are not.
Correct ?
What is it you don't know how to do ? What is the problem exactly ?I need when i click on expandable cell it should show cells under it and on clicking again it should hide
To hide, you should set hidden to true for cells C, D, E and set their height to zero.
See this:
https://stackoverflow.com/questions/29886642/hide-uitableview-cell