Hi team,
I’m trying to make a context menu on a unitlist view : is it possible please ?
Hi team,
I’m trying to make a context menu on a unitlist view : is it possible please ?
Hello @XavierDP,
For some components, e.g. UnitList, you need also include the onContext property into their configuration:
webix.ui({
view:"unitlist",
id:"unit",
// ...config
onContext:{} //required for context menu
});
$$("cmenu").attachTo($$("unit"));
Please take a look at the snippet:
https://snippet.webix.com/w9bm9ieh