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

why there is no treeview like plugin? #7048

Open
dbsxdbsx opened this issue Mar 30, 2021 · 4 comments
Open

why there is no treeview like plugin? #7048

dbsxdbsx opened this issue Mar 30, 2021 · 4 comments

Comments

@dbsxdbsx
Copy link

dbsxdbsx commented Mar 30, 2021

for the semantic version 2.4.1. I didn't find any plugin that could behave like a tree view, the most like plugin would be Bulleted list from here , but the sub title canot be folded.

Is there some other option?

@GammaGames
Copy link
Contributor

Even though this feature is available in SUI, I've been using Fomantic UI since this repo stopped getting updates without issue. They have a bunch of bug fixes and features SUI doesn't have.

Anyway, you should be able to do it with a nested accordion. There's an example in the docs: https://fomantic-ui.com/modules/accordion.html#nested-accordions

If you want to use a non-styled accordion you can add a little css to make the nested menus look better:

.ui.accordion:not(.styled) .title {
  border-bottom: 1px solid grey;
}
.ui.accordion:not(.styled) .content {
  margin-left: 1em;
}

jsfiddle

@dbsxdbsx
Copy link
Author

dbsxdbsx commented Apr 9, 2021

@GammaGames , thanks for your advice. The link you provided I've visited before, And I did work around the issue by it.
Hopefully , SUI could have a better tree view plugin like that in ELEMENTUI.

@airobus
Copy link

airobus commented Apr 16, 2021

Why is it so difficult to use great effects? What's the matter?

@lubber-de

This comment was marked as spam.

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

4 participants