Template doesn’t have the onBeforeContextMenu. To attach Webix context menu or any action on the right click, you need to listen a native contextmenu event:
b) If you really want to attach menu for each tab, you can try to add a span that will fill the tab and contain a property which value will match the tab ID. Something like:
I want to be able to click on individual tab buttons and get standard functionality and right click on tab button to call contextmenu.
By their nature they seem to be rendered on click and when resizer is used. I have tried a number of different approaches but nothing is really working well.
For those who interested in the same solution, for now, it’s possible to use the context menu’s API to attach it to the tabbar. As follows (comments are included): http://webix.com/snippet/766ea92c