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

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -