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

Expand/hide all function #25

Open
kkseven07 opened this issue Jun 3, 2019 · 2 comments
Open

Expand/hide all function #25

kkseven07 opened this issue Jun 3, 2019 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@kkseven07
Copy link

Is there any opportunity to expand/hide all nodes in the tree?

@kkseven07
Copy link
Author

Also, how to customize node? E.g. insert a button into a node

@mlrv mlrv added enhancement New feature or request good first issue Good for newcomers labels Jun 4, 2019
@Stromwerk
Copy link
Contributor

I am also interested in this and might look into creating a PR.

Also, how to customize node? E.g. insert a button into a node

This is related to #16

Stromwerk pushed a commit to Stromwerk/ng-material-treetable that referenced this issue Jan 21, 2020
This commit adds functionality to expand and hide
all entries in the table.
This is achieved by adding a button in the header
of the table, which triggers the toggleAll() function.
A helper function is added to check if all elements
are visible, so the icon of the button can be changed
accordingly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants