在ExtJs中更改滚动条 [英] Changing scroll-bars in ExtJs

查看:174
本文介绍了在ExtJs中更改滚动条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用ExtJs,并尝试更改默认滚动条的外观(对于Grid Panel)。



我尝试使用jScrollPane,但它不工作所有的都是ExtJs。



有没有办法改变ExtJS中滚动条的默认外观。我不会看起来类似于jScrollPane



谢谢!

解决方案

我设法使用jscrollpane与extJs GridPanel。



在Grid Panel的渲染监听器中,我将

  $(function(){
$('。x-grid3-scroller')jScrollPane();
});


I'm using ExtJs and trying to change look of the default scroll-bars (for Grid Panel).

I tried using jScrollPane, but it's not working at all with ExtJs.

Is there any way to change look of default look of scroll-bars in ExtJS. I wont to achieve look similar to jScrollPane

Thanks!

解决方案

I manage to use jscrollpane with extJs GridPanel.

In render listener of Grid Panel I put

$(function(){
    $('.x-grid3-scroller').jScrollPane();
});

这篇关于在ExtJs中更改滚动条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆