autowidth

подстраивает ширину вложенных меню под ширину текста в них

boolean autowidth;

Example

webix.ui({
    view:"menu",
    autowidth:true,
    data:[
        { id:"1",value:"Short...",
            submenu:[ "FB", "G+", "TW" ]},
        { id:"2",value:"Medium...",
            submenu:[ "Facebook", "Google+", "Twitter" ]},
        ...
    ]
});

Related samples

See also
  • Articles
  • Наверх
    If you have not checked yet, be sure to visit site of our main product Webix open source html5 framework and page of javascript menu product.