SMART datagrid v1.4 > Classes > ScrollBar
스크롤바 버튼들의 표시 위치를 ScrollButtonLocation 상수로 지정한다.
기본값은 ScrollButtonLocations.NORMAL.
// 스크롤바 시작 위치에 버튼 두 개를 모두 배치한다.
grid.vscrollBar().setButtonLocation(DataLudi.ScrollButtonLocation.NEAR);
// 혹은,
grid.setOptions({
vscrollBar: {
buttonLocation: 'near'
},
hscrollBar: {
buttonLocation: 'far'
}
});