最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Change the scrollbar styles in KendoUI grid - Stack Overflow

programmeradmin0浏览0评论

How to change the scrollbar css in Kendo UI grid.

Is there any way (jQuery or CSS or anything) to change the styles. I wanna change the width of the scrollbar.

How to change the scrollbar css in Kendo UI grid.

Is there any way (jQuery or CSS or anything) to change the styles. I wanna change the width of the scrollbar.

Share Improve this question asked Apr 3, 2014 at 5:25 tishanthatishantha 4975 gold badges13 silver badges34 bronze badges 1
  • Just FYI, the default scrollbar is determined by the browser and has nothing to do with kendo styling. – gitsitgo Commented Apr 3, 2014 at 17:35
Add a ment  | 

1 Answer 1

Reset to default 5

In webkit, you can use ::-webkit-scrollbar property to define custom scrolbar

::-webkit-scrollbar {
    width: 4px;

}
::-webkit-scrollbar-button {
    background: #ccc
}
::-webkit-scrollbar-track-piece {
    background: #888
}
::-webkit-scrollbar-thumb {
    background: #eee
}

OR

you could use Javascript plugins to customize scrollbars, like jQuery custom content scroller

发布评论

评论列表(0)

  1. 暂无评论