我在jquery中有一个循环,遍历表中的每一行:
var grid = $("#TicketReportPropertyGrid").data("kendoGrid");
grid.tbody.find("tr[role='row']").each(function () {
var model = grid.dataItem(this);
if (model.deleted)
$(this).addClass('disabledGridRow');
if (model.isNew()) {
$(this). //here I need to have a logic to disable button for this row
}
});
如果我具有以下html,如何为该特定行的第4列禁用Delete
按钮: