Multicombo and Contextmenu

Hello,

I tried to combine multicombo and contextmenu, but I got stuck.
I want to have a contextmenu on the items of the mutlicombo. a) Leftclick on the items when the dropdown is open and b) leftclick on the selected items when the dropdown is closed
I found a combination of list and contextmenu that works fine:
https://snippet.webix.com/ee2ed26c

But my adaptation doesn’t work:
https://snippet.webix.com/0jvopc7p

Is there a way to achieve this?

Kind Regards,
Kuni

Hello,

The point is that ui.list have such property as onContext()which is required to show the context menu.
So, as you are working with a multicombo there will be another solution
You can solve it through webix.event
Sample: https://snippet.webix.com/lgnow8dg

Thank you very much! With some minor tweaks, like preventing other list from opening the contextmenu, I got it working. Thank you!