Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Chris on Dec 07, 2007 07:51
open dhtmlx forum
dhtmlxCombo

Hi everyone,
I have a question about the dhtmlxCombo : is it possible to change th width of the list when the list is dropped down ? I want my combobox to be like 100px width but whe i drop down the list is widder. Don't know if i'm clear and if it's possible but thank's lot anyway for you answers.
Chris
Answer posted by Support on Dec 07, 2007 09:44
Auto-size mode ( when content of expanded area equal to the maximum length of option ) can be enabled by
    combo = new ...
    combo.autoOptionSize=true;

If you need some other logic - you can modify openSelect method in dhtmlxcombo.js ( lines 843-861 in latest version )