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

Hide "+" button from 3rd level #45

Open
archanatiwari opened this issue Mar 14, 2019 · 4 comments
Open

Hide "+" button from 3rd level #45

archanatiwari opened this issue Mar 14, 2019 · 4 comments

Comments

@archanatiwari
Copy link

Thanks for the wonderful template.
I just want to know how to disable only the "+" button from third level ?

@Zicrael
Copy link
Owner

Zicrael commented Mar 14, 2019

@archanatiwari
you can use "showExpandButton: false" in tree item options:

options: {
    showExpandButton: false
},

Or you mean 'add new item" button?

@archanatiwari
Copy link
Author

In your example you have created root->apple->iPhone. My requirement is to remove the '+' icon from the iPhone row.

@archanatiwari
Copy link
Author

archanatiwari commented Mar 14, 2019

Like you have provided the options: { showDeleteButton: false}
can I use { showAddButtons: false }

@Zicrael Thank you

@Zicrael
Copy link
Owner

Zicrael commented Mar 20, 2019

@archanatiwari Yes sure. Sorry for late answer, I do it only when have free time.

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