client side validation issue with dhtmlx

Hi,

I am using dhtmlx clint side validation using API
dhtmlxGridObj.enableValidation(true,true);
dhtmlxGridObj.setColValidators(validateColArray);

In validation I used alerts for each type of validation. So when user enter wrong data it gives alert and also it again gives alert when I click on other cell keeping wrong in the previous cell.
So it gives two times alert. Can any one give any solution to this problem.

And Also when i click on “ok” on second alert, the wrong data remain in the cell. Is there any way to clean up cell data on click on ok or retain previous data.

Also in case of “ValidNumeric” if user click on cell but does not enter anything then why is shows wrong data.

waiting for your suggestions!!!

Thanks,

Amit

Try to use onEditCell event to control the editing of a cell and returning the needed on:
docs.dhtmlx.com/doku.php?id=dhtm … oneditcell

if user click on cell but does not enter anything then why is shows wrong data.
It is an expected behaviour. If the user enters the edit mode than the value will be checked.