ComboBox - Empty entries when list containes less than 4 ent

Hello,



when the combobox contains les than 4 entries, empty list entries will be displayed. You can see this, when

using data.xml in samples with following:



<?xml version="1.0" ?>



    one

    two





Best regards, Stefan


Hello,


There issue is not produced locally. Please, provide the sample which demonstrates it.


hello,



 



as described:



 



1) Download ComboBox from your Page or take it from the EnterpriseSuite2008



2) Folder dhtmlxCombo\samples\initialization contains data.xml



    Changes it to

  <?xml version="1.0" ?>
- <complete>
  <option value="1">one</option>
  <option value="2">two</option>
  </complete>
 
 
3) Start combo_init.html in this folder
4) Look at the attachment
 
Best regards, Stefan
 
 
 
 
 
 


I have checked the screenshot you provided. The list with options is not empty - it shows all options (two in your example).


Probably you meant that there is additional space in the list. This behavior is correct, as, by default, combo list has fixed size.


But you can try to use auto height mode (dhtmlxcombo_whp.js must be included):


combo.enableOptionAutoHeight(1);


Please, see the sample in the combo package dhtmlxCombo/samples/options/combo_auto_size.html