发现Telerik compobox缺乏没有找到keyPress事件所以我使用特殊功能,发现2个笔记我无法解决它,我希望如果有人能帮我解决这个缺点
1-使用此功能时我处理按键事件但箭头不起作用我可以用什么来组成和减少箭头工作
2-如果按键= 13,我想发送tap如何执行此操作而不是专注于特殊控制。
<script>
kendo.ui.ComboBox.fn._keydown = function (e) {
var that = this,
key = e.keyCode;
that._last = key;
clearTimeout(that._typing);
if (key == kendo.keys.DOWN) {
that._downArrow(); //this not working what can i put here to use down arrow
}
if (key == kendo.keys.UP) {
that._upArrow(); //this not working what can i put here to use up arrow
}
if (key !== kendo.keys.TAB &&
key !== kendo.keys.DOWN &&
key !== kendo.keys.UP) {
that._search();
}
// what can i put here to send Tap
};