sidebar questions

Wonder if someone could let me know if a. is possible and what I’m doing wrong with b. & c.

a. I would like to cursor down to menu3 (have it highlighted) and it trigger the dataview to be updated as menu1 and menu 2 does. Then be able to press enter and have menu3 expand so I can cursor down into the sub items. Is this possible?
b. In OnSelect line 81, I have had to comment out these lines as it says type error $$() line 89. Same code seems to be fine a few lines down.
c. focus does not seem to work. Actually blur is reporting its not a funciton.

Any suggestions help would be much appreciated.

http://webix.com/snippet/405ec2b5

Hello,

By default, keyboard navigation cannot be achieved with Sidebar in the same way as it is with Webix Tree or other widgets: Sidebar blocks selection of items with child nodes.

But since it is an extra widget, you can save its code locally and change just one codeline to disable the blocking and enable key navigation:

_initSidebar: function(){
   ...
   this.attachEvent("onBeforeSelect", function(id){
	...
        //comment this line
        //return false;
    });
}

See line 46 in the “HTML Code” part of the following snippet: http://webix.com/snippet/81a587d6