Check documentation for the latest version 6.0 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){ ... };

Parameters

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