scroll

enables/disables the scroll bar

boolean|string scroll;

Values

  • "y" (or true)
    enables vertical scroll
  • "x"
    enables horizontal scroll
  • "xy"
    enables both scrolls
  • false
    disables both scrolls
  • Example

    webix.ui({
        view:"dataview", 
        height:60, xCount:2,
        scroll:"y",
        type: {
            height: 60,
            width:"auto"
        },
        template:"<div class='webix_strong'>#title#</div> Year: #year#, rank: #rank#",
        data:[
            { id:1, title:"The Shawshank Redemption", year:1994, rank:1},
            { id:2, title:"The Godfather", year:1972, rank:2},
            { id:3, title:"The Godfather: Part II", year:1974, rank:3},
            { id:4, title:"The Good, the Bad and the Ugly", year:1966, rank:4}
        ]
    });


    Default value:

    true

    Related samples

    See also
    Back to top
    Join Our Forum
    We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
    If you have not checked yet, be sure to visit site of our main product Webix ui component library and page of javascript dataview product.