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

Collapse All no working #18

Open
ArmandArthur opened this issue Aug 3, 2020 · 2 comments
Open

Collapse All no working #18

ArmandArthur opened this issue Aug 3, 2020 · 2 comments

Comments

@ArmandArthur
Copy link

ArmandArthur commented Aug 3, 2020

Hello,

I'm trying :

    $.fn.hummingbird.defaults.collapseAll= true;
    $("#treeview").hummingbird();

I think collapseAll is already defined at true from the read me.

$("#treeview").hummingbird("collapseAll"); 

But it's close all node and i can't open them?
Do you have an idea? thanks !

@ArmandArthur
Copy link
Author

                            $.fn.hummingbird.defaults.collapseAll= true;
                            $("#treeview").hummingbird("collapseAll");
                            $.fn.hummingbird.defaults.collapseAll= true;
                            $("#treeview").hummingbird();

Works

@hummingbird-dev
Copy link
Owner

Hi,
good that it works. Yes, "collapseAll" is default on initialization. So, $("#treeview").hummingbird(); should be enough.

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