Check documentation for the latest version of dhtmlxSuite onRowMark DHTMLX Docs

onRowMark

fires before each attempt to mark the updated item

void onRowMark(string|number id,string state,boolean mode,object invalid);
idstring|numberid of item for which error occurs
statestringitem's state ( operation type )
modebooleantrue for adding update mark, false for removing
invalidobjectdetails about errors, if any

Example

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

Details

Event is blockable. Return false to prevent item marking

Back to top