SMART datagrid v.1 > Classes > ScrollBar

Back  Forward

DataLudi.ScrollBar.barIndent  property

Specify display start location of scroll bar by ScrollBarIndent constant. 

Defaults to ScrollBarIndent.NONE.

Getter
function barIndent(): ScrollBarIndent
Setter
function setBarIndent(value: ScrollBarIndent)
Code -1
    // Display scroll bar after fixed row.
    grid.vscrollBar().setBarIndent(DataLudi.ScrollBarIndent.FIXED);
    
    // or,
    grid.setOptions({
        vscrollBar: {
            barIndent: "header"
        },
        hscrollBar: {
            barIndent: "fixed"
        }
    });
See Also
ScrollBarIndent
buttonLocation
barWidth
GridBase.hscrollBar
GridBase.vscrollBar
Examples
Scroll Bar Example