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

TLTreeTableViewController: Keep only one expanded parent (close others) #66

Open
csotiriou opened this issue Feb 17, 2016 · 2 comments
Open

Comments

@csotiriou
Copy link

In the case of tree table, is there any way to close other parts of the table when opening the current one?

In short is there any way of manually closing other open sections?

@wtmoose
Copy link
Member

wtmoose commented Feb 17, 2016

When a node N is expanded, you want all nodes that aren't an ancestor N to be collapsed?

I can add an option for that. TLCollapsibleTableViewController already has such an option.

I'd you'd like an unsolicited opinion...in my experience, collapsing and expanding at the same time can result in unexpected excess motion and feel disorienting.

@csotiriou
Copy link
Author

I agree to that myself, it will indeed be disorienting.

However, there are cases where this feature (or lack thereof) is indeed useful.

I will check TLCollapsibleTableViewController's functionality, however, having an option like that in the TLTreeTableViewController will save me a lot of trouble.

Thank you for your response.

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