scroll

enables/disables the scroll bar

boolean|string scroll;

Values

  • "y" (or true)
    enables vertical scroll
  • "x"
    enables horizontal scroll
  • "xy"
    enables both scrolls
  • "auto"
    enables scroll only if the content of the list is bigger that the container
  • false
    disables both scrolls
  • Example

    webix.ui({  
        view:"menu",
        submenuConfig:{
            width:300,
            scroll:"y",
            autoheight:false,
            template:"#value#",
        },
        data:[
            { 
              id:"1",value:"Share",
              submenu:[ "Facebook", "Google+", "Twitter" ]},
            { 
              id:"2", value:"Save"
            }
        ]
    });


    Default value:

    "y"

    Related samples

    See also
    Back to top