I have a dhtmlxCombo with list there are lines in different languages
such as
“WEB”
“Час”
The first word of dropdown list in English but second in Russian.
When I press the “w” key on keyboard “WEB” line turn hilights and after press Enter that line selects.
When I press “ч” “Час” line doesn’t selects.
Unfortunately I cant attach zip with demo. Security of my company doesn’t let it me.
source of index.html below
var combo;
function comboInit(){
var defaultOptionIndex = 0;
var optionsArray = [{value:-1,text:" "},{value:1,text:'WEB'},{value:2,text:'ЛУЧ'},{value:3,text:'SWIFT'},{value:4,text:'ДПО'},{value:5,text:'Аламеда'},{value:6,text:'КБД'}];
combo = new dhtmlXCombo("param_im_msg_type_desc", "param_im_msg_type_desc", 300);
var value;
for (i=0; i<optionsArray.length; i++){
value = optionsArray[i];
combo.addOption(value.value, value.text);
}
combo.readonly(true);
combo.selectOption(defaultOptionIndex);
combo.defaultOption = defaultOptionIndex;
};
</script>
combo uses fromCharCode String method to get character by keyCode that returns latin K, not cyrillic Л, when “75” key is pressed.
Unfortunately, there is not possiblity to solve this issue.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan