티스토리 뷰

webix datatable에 가로 스크롤이 자리를 잡고 있었다.

가로 스크롤이 있을 필요가 없어서 가로스크롤 자리를 없애고 싶은데..

삽질을 하다보니까

scroll:"false"

를 하면 된다고 해서 해보니 정말 가로 스크롤이 없어졌다.

아래 webix 문서를 참고하길 바란다.


By default, a component features vertical scrolling. It can be modified via the dedicated scroll property that may take the following values:

"y" or true - sets a vertical scrollbar;
"x" - sets a horizontal scrollbar;
"xy" - sets both horizontal and vertical scrollbars;
"auto" - sets scrollbars when they are necessary (when the size of the content exceeds the size of the container);
false - defines a non-scrollable component.
webix.ui({
    view:"list",
    id:"mylist",
    scroll:"x", //"y", "xy", "auto", false
    // ... config
});
Some components have the scrollX and scrollY properties that take boolean values to enable/disable the specified scrolling direction. Check the API Reference for details.

https://docs.webix.com/desktop__scroll_control.html

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함