javascript - Issue in handsontable. If i begin correcting my error cells or update a new cell, cell highlights disappear -
if begin correcting error cells or update new cell, cell highlights disappear.the issue exists if scroll vertically.attached screenshot
you need apply each cell want validate validator :
requiredfieldvalidator = function (value, callback) { if (!value) { //adderrordiv(mymessagediv, myerrormessages.required_field); callback(false); } else { callback(true); } };
like :
columns: [ {data: 'firstname', validator: 'requiredfieldvalidator'}, {data: 'lastname', validator: 'requiredfieldvalidator'}, ]
example : jsfiddle
Comments
Post a Comment