Monday 30 May 2016

how to hide delete & edit button in kendor gride

imageClass: "k-icon k-delete",
 dataBound: function () {
                $("#Address-grid tbody tr").each(function () {
                    var currentDataItem = $("#Address-grid").data("kendoGrid").dataItem($(this).closest("tr"));
                    if (currentDataItem.IsDefault) {
                        $(this).find(".k-icon").hide();
                    }
                });
}

No comments:

Post a Comment