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

Popular posts from this blog

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -