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
2010-09-03 07:09:33
Hi Davids, do you have any idea how to set tool tips in combo box?
dhiraj
2010-09-03 08:56:19
On the combo :setSimpleTemplate("<span title=\"{"+getDisplayField()+"}\">{"+getDisplayField()+"}</span>");
G. Davids
2010-09-03 09:24:55
Thanx Davids. I will try to implement that.
dhiraj
2010-09-03 12:35:57