Alert error message on Validation

I am trying validation using dhtmlxgrid_validation.js. In addition to showing the red line, I want to show a alert with error message. How can I do that?

You can use
onLiveValidationError
or
onValidationError
event

It fires when validation fails for some rule in the grid.