How can use the popup-menus of a sidebar as a drag-source?
Hello @Jendrik,
Please take a look at the snippet: https://snippet.webix.com/mhp0bk96
There getPopup method was used to return the popup’s object and queryView method to return menu view. The drag: true
property was used to enable the drag behaviour for the menu and submenus:
const menu = $$("side").getPopup().queryView("menu");
menu.define({
...
drag: true,
submenuConfig: {
drag: true,
...
}
});