If i begin correcting my error cells or update a new cell, cell highlights disappear.The issue exists even if I scroll vertically.Attached screenshot
You need to apply to each cell you want to validate this validator :
requiredFieldValidator = function (value, callback) {
if (!value) {
//addErrorDiv(myMessageDiv, myErrorMessages.required_field);
callback(false);
} else {
callback(true);
}
};
Like this :
columns: [
{data: 'firstName', validator: 'requiredFieldValidator'},
{data: 'lastName', validator: 'requiredFieldValidator'},
]
Example : JSFiddle