I downloaded DHTMLcombobox.
How can I set the size (i.e. numbers of rows) of the object. I’d like to see the object as a listbox.
I saw I must change the dhtmlxcombo.js file, but I don’t know how to change it
May someone help me please?
Thanks a lot!!
>>How can I set the size (i.e. numbers of rows)
There is no such value, but you can set custom height of list, it is defined in dhtmlxcombo.css
.dhx_combo_list{
position:absolute;
z-index:30;
overflow-y:auto;
overflow-x:hidden;
border:1px solid black;
height:100px; << this is it!
font-family: Arial;
font-size: 9pt;
background-color: white;
}
>> I’d like to see the object as a listbox.
Combo can be switched to readonly mode by
combo.readonly(true);