scroll of Scrollable, Properties Webix Docs

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 than the container

  • false

    disables both scrolls

  • Example

    webix.ui({
        view:"form", 
        elements:[
            { view:"select", label:"Version", options:["1.0", "1.5", "2.0"]},
            { view:"text", type:"password", value:"123pass", label:"Password"}
            // more elements
        ],
        scroll:true 
    });

    Default value:

    "y"

    Related samples

    See also

    Back to top