fires before each attempt to mark the updated item
id | string|number | id of item for which error occurs |
state | string | item's state ( operation type ) |
mode | boolean | true for adding update mark, false for removing |
invalid | object | details about errors, if any |
dp.attachEvent("onRowMark", function(id, state, mode, invalid){
//custom code here
return true;
});
Event is blockable. Return false to prevent item marking
Back to top