Date validation

We are trying most of your components in our application once we are done, we are going to buy pro. version of (dhtmlxgrid, dhtmlxlayout, Accordion, data processor).



In dhtmlxgrid we need a client side date validation, can you please provide me example using data processor


myDataProcessor.setVerificator(3,function(value,colName){
  if(isNaN(Number(value))){
    alert(“Value in 4th column should be number”)
    return false;
  }else
    return true;
})



This sample demonstrates how to validate data for 4th column (index is 3) if it is numeric or not and show message (alert) if not.