Hello,
Is it possible to add a “header” to a context menu’s submenu? Not the menu itself. I’m trying to provide something like
{ ‘head’:‘Header Text’},
{ $template:“Separator” },
{ ‘id’:‘id_1’, ‘value’:‘value_1’ },
{ ‘id’:‘id_2’, ‘value’:‘value_2’ },
{ ‘id’:‘id_3’, ‘value’:‘value_3’ },
{ ‘id’:‘id_4’, ‘value’:‘value_4’ }
Making the “header” just another value means it’s selectable which is something I don’t want. Any examples, pointers or references documentation I haven’t found would be very welcome, thanks
-SrvrSide
Check example here
http://forum.webix.com/discussion/4603/mega-menu#latest
It shows how you can replace default submenu with a custom control.
Thank you Maksim, but I’m not trying to replace the menu functionality. I want exactly that functionality, I just would like to had a “title” or header to the submenu (if possible), while maintaining the standard menu functionality.
- SrvrSide
Thank you Maksim, I did think about just disabling the “header” line but I thought there might be a more appropriate approach inline with the rest of the framework. I also couldn’t work out how to disable only the “header” of the submenu… Thank you very much for taking the time to provide the link
- SrvrSide
Thank you Maksim, trying different things following your suggestion I managed to more or less achieve what I was after. Thanks again.
- SrvrSide