Hi,
i build a search form in my application and all combo’s have relation to each combo. So i had to fire a onChange event and load combo’s again with reduced content. That is going right.
Well, but after the element fired and all boxes reloaded the cursor is pointing to the first combobox in form.
Could someone help me?
DhtmlX Version: 3.5
Darya
May 12, 2014, 11:40am
#2
Hi
Could you please provide us completed demo to reproduce the issue locally?
docs.dhtmlx.com/doku.php?id=othe … leted_demo
hm. its hard to do that because its a complex application
Darya
May 12, 2014, 1:46pm
#4
May be you can provide us a direct link to this project?
But according to demo: you can dowgrade it to simple form+combo.
Sorry, thats not possible, because of company’s restrictions
Could you define on which point the cursor is set into the combo input field? i think i could solve the problem by myself if i get help in this way
thank you!
More info:
i use “enableFilteringMode” when leaving a combo box so that all boxes reloaded with related contents
first step fill some values
leave field “CCM” and cursor switch to the first combo box (note that comboboxes all reloaded and also get a select option
Darya
May 12, 2014, 2:37pm
#8
May be you can try to save the last focused combo and set focus to it by setItemFocus() method manually?
this is what i tried first:
form.setItemFocus("itemname");
but i get:
Uncaught TypeError: undefined is not a function
i think thats a good way.
One question. it is possible to remove the focus? I tried to set it on a hidden element, but this seems to be not possible
Ok, my problem is solved. remove cursor is anything we need
Thank you very much
Hi, how did you do that the combos have relation with the other when the event onchange is fire.
Darya
July 28, 2014, 11:48am
#15
Hi, diegoalex29
You can try to use approach from local sample
dhtmlxCombo/08_advanced/01_grouping_combos.html