Is there an option to make the ComboBox not close until I've clicked elsewhere on the page? The scrolling function in the combobox kind of interferes with the scrolling on the actual page when scrolling with the mouse.
3 Answers, 1 is accepted
0
Accepted
Ivan Danchev
Telerik team
answered on 28 Jun 2017, 06:01 AM
Hello Yngve,
The ComboBox does not have such configuration option, but you can use a flag, detect the focusout event firing (scrolling does not blur the ComboBox), and prevent the close event if focusout hasn't fired. See this dojo for an example.
Hi, thanks for the answer. Everything works fine except that I get the error
Cannot read property 'close' of undefined
when I run
var combo = $("#xkendo-project-combobox").data("kendoComboBox").close();
0
Ivan Danchev
Telerik team
answered on 29 Jun 2017, 12:41 PM
Hello Yngve,
This indicates that a proper reference to the ComboBox with id "xkendo-project-combobox" cannot be obtained. Could you demonstrate this in a dojo example?