Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Kurt on Dec 16, 2008 19:07
open dhtmlx forum
The cotents of pulldown list can not be selectd by mouseover event.

Hi team

The cotents of pulldown list can not be selectd by mouseover event.

The backgroud color of mouseovered record is not changed to the selected color (blue).

Thanks.

  

Answer posted by Support on Dec 17, 2008 01:40
Do you mean dhtmlxCombo?
For combo , problem is not reconstructable in local or online samples 
           http://dhtmlx.com/docs/products/docsExplorer/index.shtml?type=smpl
If issue occurs only in your code - please provide any kind of sample where problem can be reconstructed ( in theory problem can be used by custom css defined for options, such styling may override color or selection.  ) 
Answer posted by Kurt on Dec 17, 2008 22:33

Thanks.

I have solved the problem by using the new dhtmlxcombo.js file to replace my original one.
Now I want to change the background color. could you tell me in which files I can set it.
 
 
Answer posted by Support on Dec 18, 2008 01:31
If you mean bg. color of combo itself - it can be changed in dhtmlxcombo.css

.dhx_combo_box{
 position:relative;
 text-align:left;
 border:1px solid #7F9DB9;
 height:20px;
 _height:22px;
 overflow:hidden;
  background-color: white;        //<= this is it
}

Answer posted by Kurt on Dec 18, 2008 01:36

It's not bg.color of combo itself . It's the bg.color of the option which is mouseovered.

Answer posted by Support on Dec 18, 2008 02:08
dhtmlxcombo.css
.dhx_selected_option{
   background-color:navy; //<= here it is
   color:white; 
}


Answer posted by Kurt on Dec 18, 2008 03:29
Thanks very much.