PDA

View Full Version : Horizontal Scrollbar is not appearing for Combobox.



Amol Lokhande
26 Sep 2012, 5:45 AM
Hi All,

Currently we are using ExtJs 3.2.1 version. We are facing an issue in case of combobox control. If length of data increases, horizontal scrollbar is not appearing.

When we have investigated this issue we found following class from ext-all.css gets applied to combobox.

.x-combo-list-inner {
overflow:auto;
position:relative; /* for calculating scroll offsets */
zoom:1;
overflow-x:hidden;}


Above bold attribute is causing the issue. Is there any way to add horizontal scrollbar for combobox with overriding above class? This issue is not observed in case of extJs 2.1

Thanks in advance

Regards
Amol Lokhande

scottmartin
26 Sep 2012, 11:20 AM
Some alternatives ...

Increase width of combo:

listWidth: 200

Wrap lines:

.x-combo-list-item {
white-space:normal;
}


Scott.