You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to start the tree menu with all the menus are collapsed? I do not really understand from js have tried as much I can try but no result. If anyone can help I would be appreciated :)
The text was updated successfully, but these errors were encountered:
I had the same problem and I wrote this function to collapse all menus that are shown.
function closeEasyTree(){
var parent = $(".easy-tree").find('li.parent_li');
var children = parent.find(' > ul > li');
if (children.is http://children.is/(':visible')) {
children.hide('fast');
parent.children('span').attr('title', "expandir").find(
' > span.glyphicon').addClass(
'glyphicon-folder-close').removeClass(
'glyphicon-folder-open');
}
}
Just call it whenever you like and they will collapse.
—
Reply to this email directly or view it on GitHub #1 (comment).
Hello,
Is it possible to start the tree menu with all the menus are collapsed? I do not really understand from js have tried as much I can try but no result. If anyone can help I would be appreciated :)
The text was updated successfully, but these errors were encountered: