Check documentation for the latest version of dhtmlxSuite onValidationError DHTMLX Docs

onValidationError

fires when validation runs and rules execution are failed

void onValidationError(string|number id,number index,mixed value,string rule);
idstring|numberthe id of a row
indexnumberthe index of a column
valuemixedthe value of a cell
rulestringthe name of a rule

Example

myGrid.attachEvent("onValidationError", function(id,index,value,rule){
    // your code here
    return true;
});

Details

the event is blockable, returning false will ignore the validation error

Back to top