SMART datagrid v1.4 > Classes > ScrollBar

Back  Forward

DataLudi.ScrollBar.barIndent  property

스크롤바의 표시 시작 위치를 ScrollBarIndent 상수로 지정한다. 

기본값은 ScrollBarIndent.NONE.

Getter
function barIndent(): ScrollBarIndent
Setter
function setBarIndent(value: ScrollBarIndent)
Code -1
    // 고정 행 이 후부터 스크롤바를 표시한다.
    grid.vscrollBar().setBarIndent(DataLudi.ScrollBarIndent.FIXED);
    
    // 혹은,
    grid.setOptions({
        vscrollBar: {
            barIndent: "header"
        },
        hscrollBar: {
            barIndent: "fixed"
        }
    });
See Also
ScrollBarIndent
buttonLocation
barWidth
GridBase.hscrollBar
GridBase.vscrollBar
Examples
스크롤바 예제