Are there any known issues with the 'select' event on the a3r4 combo box?
I've got a function associated wiht 'select' that fires when I select an element from the drop-down, but doesn't when I programatically select items, for example, I have to use the following code to ensure that things like the selectedIndex are correctly set-up:
To select an element
am I just going bonkers ?
I've got a function associated wiht 'select' that fires when I select an element from the drop-down, but doesn't when I programatically select items, for example, I have to use the following code to ensure that things like the selectedIndex are correctly set-up:
combo.setValue('my-value');
combo.selectNext();
this.selectionChanged(combo, combo.store.getAt(0), 0 );
am I just going bonkers ?
本文讨论了在使用A3R4 ComboBox控件时遇到的问题:通过编程方式选择项时,‘select’事件未能触发。作者提供了一个解决方法来确保正确设置所选索引。
1万+

被折叠的 条评论
为什么被折叠?



