views:

108

answers:

1

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?

+1  A: 

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.

G. Davids
Hi Davids, do you have any idea how to set tool tips in combo box?
dhiraj
On the combo :setSimpleTemplate("<span title=\"{"+getDisplayField()+"}\">{"+getDisplayField()+"}</span>");
G. Davids
Thanx Davids. I will try to implement that.
dhiraj