dhtmlxgrid cell validation NotEmpty

Hi,

I’m using the “NotEmpty” validation on my grid’s cells,
in case that one of the cell is equals to zero - the validation is triggered, although i don’t want it to work in some cases,
how can I solve this problem - so i can deside wheter or not zero is empty?

Please advice,

Thanks.

You can create custom validation function
docs.dhtmlx.com/doku.php?id=dhtm … _extension

o.k … thank’s…
can i override the NotEmpty validation? or i have to create a new validation name?

You can redefine NotEmpty validation rule with following code:

dhtmlxValidation.NotEmpty=function(a){
//any custom code here
}