How to define the size of dhtmlxcombo and make scrollbars

Hi,

As title:
How to define the size of dhtmlxcombo/clist and make scrollbars (both horizontal and vertical)

I am using dhtmlxgrid with combo and clist excell types.
I have many options loaded into them and therefore I need to define the size and make the dropdown stuff incorporated with scrollbars.

Looking forward to your reply at your earliest!
Thanks.

Hi Dhtmlx Gurus,

we got a requirement to use dhtmlxgrid clist functionality.If clist contains greater than 20 values, the list displayed with out scroll bar.
example:
mygrid.registerCList(2, [“a”,“f”,“f”,“b”,“c”,“d”,“e”,“f”,“g”,“h”,“i”,“j”,“k”,“l”,“m”,“n”,“o”,“p”,“q”,“r”,“s”,“t”,“u”,“v”,“w”,“x”,“y”,“z”,“A”,“B”,“C”]);
The screen shot attached to this post.

Is there any way to show the clist with scroll bars enabled and with some fixed height and width?
Please reply to this post if any option available for this requirement.


Please, try to use the following css:

<style> .dhx_clist{ height:150px ; overflow: auto; } </style>