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
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.
But the data source is the same for both combos (XML File).
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
dhtmlxcombo.zip (8.3 KB)
Thank you! Now works normally.