After trying kendo panelbar support told me to switch back to treeview.
But I am strugeling with the widget template.
a) of course I don't want all nodes expandes so I commented this line out
b) of course once a page is selected I want the node for this pages expanded. This code thanks to Telerik does the trick.
selectedNodesToExpand = kendoTreeView.element.find(
This link shows it: http://ceramdis.ch.mserver4.arvixevps.com/einsatzgebiete/sintertechnik
c) The client does not want an open (+) close (-) image to expand/collaps the trees. So this is what I need.
Look at his page: http://ceramdis.ch.mserver4.arvixevps.com/einsatzgebiete
This is a group page and it will redirect to the first 'real' page 'Ubersicht' and therefore expand the sibling nodes since the script from b) comes into actions
Look at this page: http://ceramdis.ch.mserver4.arvixevps.com/ihre-anforderungen
This is a real page. So when the user clicks 'Ihre Anforderungen' from the 1st Level in the navigation, the page is loaded and b) kicks in.
but -> I now want of course the child nodes expanded as well.
THE IDEA BEHIND IT
The first level pages are an overview for what is to come under that menu item.
The way that works:
Einsatzgebiete is an group page
Ubersicht is a real page and shown in Navigation
The way that does not work:
Ihre Anforderung is real page
No child nodes will be shown when page is loaded
Einsatzgebiet is a group page
Uebersicht is real page but not shown in navigation.
Long problem short.
I guess I need a jquery way to find the selected node and if it has child items expand them.