问题
Is it possible to put scroll for Bokeh dropdown when there are many options? For example, in the following image, I would like to have 5 options at a time, and be able to scroll down to other options when needed. That would be great if you could provide a working example. Here is a an example for a dropdown.
from bokeh.models import Dropdown
mymenu = [(str(i), str(i)) for i in range(1, 10)]
dd = Dropdown(label="DropDown Label",
button_type="warning", menu=mymenu, width=150)
show(ddmsn)
I tried putting a height for the DropDown but it seems it only takes into account the height of the label.
来源:https://stackoverflow.com/questions/54931545/put-scroll-on-bokeh-dropdown-choices