Sidebar with multi level menu

Hello,
I have a problem with sidebar in collapsed view.
After select an item from a second/third level-menu the sidebar remains open. you can see this behavior in your snippet Webix Samples . How can i close alle levels after select one item?
thank you
Roman

Hello ObiWanKenobi,

As in webix popup views are closed by external click, you can trigger onclick event in onAfterSelect event handler this way :
webix.callEvent("onClick", [])

Please check example: Code Snippet

It works - thank you very much!