I wonder how I could call a javascript function that checks/validates the entire grid?
Something like myGrid.validate();
It should highlight all fields which don’t match the validation and return false if one cell is not valid.
I’m not doing the validation on the data processing, but use:
grid.enableValidation(true, true);
grid.setColValidators(“NotEmpty,NotEmpty,NotEmpty”);
Thanks,
Dimitri
You can use validation extension, this extension works without DP. Please find examples here dhtmlx.com/dhxdocs/doku.php?id=d … _extension
mygrid.forEachRow(function(id){
for (var i = 0; i<mygrid.getColumnsNum(); i++)
mygrid.validateCell(id,i);
});