EasyUI combobox dropdown horizontal scroll bar is added and vertical scroll bars

Set the scroll bar in EasyUI the combobox components:

1. The vertical scroll bar: panelHeight setting properties, default 200, too much data appears automatically scroll bar assembly disposed auto, a scroll bar does not appear.

2. Horizontal scroll bar: The horizontal scroll bar can not be set by the formation of the property, but can be controlled by the style.

Adding to the page

.combobox-item{
    white-space: nowrap;
}

 

     This style will modify all pages combobox components, when the data is too long a horizontal scroll bar will appear.

Guess you like

Origin www.cnblogs.com/createhappy/p/12018934.html