Called when user select item from context menu.
menuClick(id, index, [event])
id string, id of the tab
index integer, index of the item in the menu
event object, optional, DOM Event object
Returns undefined.

Description

This method is called when user selects an item from the contextn menu. It is used internally, but you can use to to emulate context menu selection. This method emits .onMenuClick event.
If you have sidebar defined in the following way: You can click on the node: