DHTMLX Docs & Samples Explorer

onRowMark event

occurs each time when a row needs to be repaint, blockable.

dp.attachEvent("onRowMark",function(id,state,mode,is_invalid){
  //any custom code
  return true;
})

Parameters:

  • row id;
  • row state - {bool} true - updated, false - update mark removed;
  • mode - {string} updated,deleted,inserted;
  • invalid - {bool} set if row has error or invalid status.