Categories | Question details Back To List | ||||||||
Can I set value in other dhtmlxCombo? Sorry for my english. I have two dhtmlxCombo in a form. I need set the value on second dhtmlxCombo when I set value of first one. I'm using the code below z3.attachEvent("onChange",function(){ z4.setComboValue(z3.getSelectedValue()); }); but the combo show the value and not the text. Thank you Answer posted on Nov 21, 2007 07:24 The logic of setComboValue is next - if such value exists in combobox, it is set as selected, related text shown - if no such value exists in combobox, new value set as selected, new value show So it seems that in your situation there is no such option in z4 as selected currently in z3. Answer posted by Marco Rabelo on Nov 21, 2007 07:59 Answer posted by Marco Rabelo on Nov 21, 2007 08:15 But the data source is the same for both combos (XML File). Answer posted on Nov 22, 2007 02:39 Problem confirmed and fixed, fix will be released as part of next build. If you need fix ASAP - please use attached file instead of original one Attachments (1)
Answer posted by Marco Rabelo on Nov 23, 2007 08:46 Thank you! Now works normally. |