I have a requirement that I need to be able to "paste" a value (via key event) into a grid cell that contains a dropdown list. Then I need to do a lookup for that value in the display text of the list (the "search" function I believe) and set the dropdown list accordingly.
I have trapped the keydown event for ctrl-v and have found the currentCell. I am trying to do something like this:
var dropDownList = currentCell$.find("input").data("kendoDropDownList");
dropdownList.search("K2");
However, this does not seem to work. It seems like the search function only works if the dropdown list is actually open rather than just the cell being selected. Not sure what I am missing. Also tried adding grid.editCell(currentCell) before it without much luck.
Can you tell me where I am going wrong?