Disabling specific cell edit in Slick grid
问题 Is there a way to disable a cell for editing? We can define editor at column level but can we disable that editor for specific rows? 回答1: grid.onBeforeEditCell.subscribe(function(e,args) { if (!isCellEditable(args.row, args.cell, args.item)) { return false; } }); 回答2: You can disable or even change editor/formatter/validator... or other cell properties using getItemMetadata method. There is very nice documentation for this here. Example: $scope.data.data.getItemMetadata = function (row) { var