Click here to Skip to main content
15,891,633 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have to edit few columns based on condition. I have used this.closeCell() on onEdit(e) function. Getting template undefined error in kendo.all.min.js file.

C#
function onEdit(e) {
            var grid = $("#searchDetails").data("kendoGrid");
        var currentDataItemZipCode = e.model.ZipCode;
        var currentDataItemCsgType = e.model.CSGTypeDescription;
        var currentDataItemMilkrunCode = e.model.MilkrunCode;
        $("#hdnCSGType").val(currentDataItemCsgType);
        $("#kZipCode1").data("kendoAutoComplete").value(currentDataItemZipCode);
        $("#kUpdateMilkrunTerritoryCodes").data("kendoComboBox").text(currentDataItemMilkrunCode);

            if (e.container.find("input[name=kUpdateMilkrunTerritoryCodes]").length > 0) {
                this.closeCell();
        }

    }


Above is my onEdit(e) function.

Please help me to resolve this issue.

Thanks & Regards,
Jyothi
Posted
Updated 24-Sep-15 0:18am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900