Categories | Question details Back To List | ||
dhtmlxcombo When filtering with dynamic XML dropdown is disabled when text in combo is blank When I click the dropdown button on the dhtmlxcombo the dropdown portion does not open to show me any options. I am using dynamic xml loading (ajax) and my url is returning the top 100 records. Is there any way to allow the drop down to show me the options if there's no text yet entered in the combo box? Thanks in advance. Answer posted by Support on Jan 16, 2008 09:06 There is speciall check in code which prevent opening if no text entered ( or text not related to any of options ) You can a) disable filtering at all or b) made next code modification - in dhtmlxcombo.js locate next fragment dhtmlXCombo.prototype.filterSelf = function(mode) { var text=this.getComboText(); and replace it with dhtmlXCombo.prototype.filterSelf = function(mode) { var text=this.getComboText(); if (!text) return; |