Disabling specific cell edit in Slick grid

emphaticsunshine picture emphaticsunshine · May 8, 2012 · Viewed 12.5k times · Source

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?

Answer

Tin picture Tin · May 8, 2012
grid.onBeforeEditCell.subscribe(function(e,args) {
  if (!isCellEditable(args.row, args.cell, args.item)) {
    return false;
  }
});