Check documentation for the latest version of dhtmlxSuite onValidationError DHTMLX Docs


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


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


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

Back to top