I have a combo box in my grid. I want to get the selected value of it on blur during edit mode. I want to pass it to my web service and based on some logic populate the text box beside it with a value. How can I accomplish this? Thank you.
Hello Omer,
I've made a sample that demonstrates column with combo editor and another column with template input text field. Using 'editCellEnded' event I'm checking if the current column that is in edit mode equals the one that contains the combo editor and based on that I'm assigning the selected combo editor value to the input field, for instance:
editCellEnded: function (evt, ui) { var testColInput = $(".inputTextBox")[ui.rowID]; if (ui.columnKey == "Name") { testColInput.value = ui.value; } }
Attached is a sample for your reference.
Please let me know if you have further questions.
Regards,
Tsanna