Horizontal scroll bar in combo box in GXT

I am working with GXT to develop a web application. But I am finding difficulty in adding the horizontal scroll bar in combo box. Some of the items of the combo box have large text and I can't see all the text when I see the combo box items. I am not finding a way to set a horizontal scroll bar to the combo box. When I searched in the net I found that we have to implement template for that, but nothing I have found useful. Can you help me in this regard?


Might not be super useful for you, but we found it tough to create a nice xtemplate for h-scroll. Instead we added tooltips for any items that are longer than the combo. I must say that it works nicely.


You can change combobox style from gxt-all.css at location "warresourcescssgxt-all.css"

Add "overflow: visible !important;" to x-combo-list-inner

.x-combo-list-inner { background-color:#fff; overflow: visible !important; }

链接地址: http://www.djcxy.com/p/64402.html

上一篇: FireFox中的Gwt应用程序字体不兼容问题与IE相比较

下一篇: GXT中的组合框中的水平滚动条