dataBound: function ()
{
$("#RePackagingSummary-grid tbody tr .k-grid-edit").each(function () {
var currentDataItem = $("#RePackagingSummary-grid").data("kendoGrid").dataItem($(this).closest("tr"));
if (currentDataItem.Sid != 1) {
$(this).addClass("k-state-disabled");
}
});
}
{
$("#RePackagingSummary-grid tbody tr .k-grid-edit").each(function () {
var currentDataItem = $("#RePackagingSummary-grid").data("kendoGrid").dataItem($(this).closest("tr"));
if (currentDataItem.Sid != 1) {
$(this).addClass("k-state-disabled");
}
});
}
No comments:
Post a Comment