Dear Kendo Team,
I'm using Kendo grid in my MVC Project in where i've a dropdown list.
I want to bind the dropdown list on edit event of grid because it's not always common data for each row.
with telerik I used to do like as follow:
(where #HireJob is an editor template)
i just want to transfer above code with kendo but i'm getting problem.
can anyone please help me with this issue?
Thanks in advance.
I'm using Kendo grid in my MVC Project in where i've a dropdown list.
I want to bind the dropdown list on edit event of grid because it's not always common data for each row.
with telerik I used to do like as follow:
function onEdit_HireBookingInvoiceDetail(e) {
$.ajax({
url: "@Url.Action("GetHireJobList", "Hire")",
data: {HireJobId: e.dataItem['HIRE_JOB_ID'] != null ? e.dataItem['HIRE_JOB_ID'] : 0},
dataType: "json",
type: "POST",
success: function (myData){
$(e.form).find("#HireJob").data("tDropDownList").dataBind(myData);
$(e.form).find('#HireJob').data('tDropDownList').select(function (dataItem) {
return dataItem.Value == e.dataItem['HIRE_JOB_ID'];
});
}
});
}
(where #HireJob is an editor template)
i just want to transfer above code with kendo but i'm getting problem.
can anyone please help me with this issue?
Thanks in advance.