Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by ismailc on Oct 20, 2008 03:53
open dhtmlx forum
Hi, Thanks a million for the assistance. When I add the code to the dhtmlxcombo.js file then my dhtmlcombos  ...

Hi, Thanks a million for the assistance.

When I add the code to the dhtmlxcombo.js file then my dhtmlcombos don't appear on my page. It's all missing.

combo.attachEvent("onKeyPressed",function(){
  var val=combo.getComboText();
  val=val.substr(0,val.length-1);
  window.setTimeout(function(){
  if (!combo.filterAny){
  combo.setComboText(val);
  combo.filterSelf();
  }
  },1);
})

2. Secondly on the filtering, when I filter an a value and is returned to the input box - Then I can't use the drop down.

It is like the dropdown list is disabled, i have to clear the filter selection then only will the ldrop list be available.

Please Help, Regards

Answer posted by Support on Oct 20, 2008 07:25
What is the name of the combo object on your page ? Is it combo ?

combo = new dhtmlXCombo(....);

combo.attachEvent("onKeyPressed",function(){
....
}

Could you please provide the sample where issue can be recreated directly at support@dhtmlx.com
Answer posted on Oct 20, 2008 07:31

Hi,

This is what i have in my xslt file:

var z<xsl:value-of select='$Name' />=dhtmlXComboFromSelect("<xsl:value-of select='$Name' />");

z<xsl:value-of select='$Name' />.readonly(true);

and the normal dhtmlxcombo.js file.

Regards